oci.Core.Cpe
Explore with Pulumi AI
This resource provides the Cpe resource in Oracle Cloud Infrastructure Core service.
Creates a new virtual customer-premises equipment (CPE) object in the specified compartment. For more information, see Site-to-Site VPN Overview.
For the purposes of access control, you must provide the OCID of the compartment where you want the CPE to reside. Notice that the CPE doesn’t have to be in the same compartment as the IPSec connection or other Networking Service components. If you’re not sure which compartment to use, put the CPE in the same compartment as the DRG. For more information about compartments and access control, see Overview of the IAM Service. For information about OCIDs, see Resource Identifiers.
You must provide the public IP address of your on-premises router. See CPE Configuration.
You may optionally specify a display name for the CPE, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testCpe = new oci.core.Cpe("test_cpe", {
compartmentId: compartmentId,
ipAddress: cpeIpAddress,
cpeDeviceShapeId: testCpeDeviceShapes.cpeDeviceShapes[0].cpeDeviceShapeId,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: cpeDisplayName,
freeformTags: {
Department: "Finance",
},
isPrivate: cpeIsPrivate,
});
import pulumi
import pulumi_oci as oci
test_cpe = oci.core.Cpe("test_cpe",
compartment_id=compartment_id,
ip_address=cpe_ip_address,
cpe_device_shape_id=test_cpe_device_shapes["cpeDeviceShapes"][0]["cpeDeviceShapeId"],
defined_tags={
"Operations.CostCenter": "42",
},
display_name=cpe_display_name,
freeform_tags={
"Department": "Finance",
},
is_private=cpe_is_private)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Core.NewCpe(ctx, "test_cpe", &Core.CpeArgs{
CompartmentId: pulumi.Any(compartmentId),
IpAddress: pulumi.Any(cpeIpAddress),
CpeDeviceShapeId: pulumi.Any(testCpeDeviceShapes.CpeDeviceShapes[0].CpeDeviceShapeId),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(cpeDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
IsPrivate: pulumi.Any(cpeIsPrivate),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testCpe = new Oci.Core.Cpe("test_cpe", new()
{
CompartmentId = compartmentId,
IpAddress = cpeIpAddress,
CpeDeviceShapeId = testCpeDeviceShapes.CpeDeviceShapes[0].CpeDeviceShapeId,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = cpeDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
IsPrivate = cpeIsPrivate,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.Cpe;
import com.pulumi.oci.Core.CpeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testCpe = new Cpe("testCpe", CpeArgs.builder()
.compartmentId(compartmentId)
.ipAddress(cpeIpAddress)
.cpeDeviceShapeId(testCpeDeviceShapes.cpeDeviceShapes()[0].cpeDeviceShapeId())
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(cpeDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.isPrivate(cpeIsPrivate)
.build());
}
}
resources:
testCpe:
type: oci:Core:Cpe
name: test_cpe
properties:
compartmentId: ${compartmentId}
ipAddress: ${cpeIpAddress}
cpeDeviceShapeId: ${testCpeDeviceShapes.cpeDeviceShapes[0].cpeDeviceShapeId}
definedTags:
Operations.CostCenter: '42'
displayName: ${cpeDisplayName}
freeformTags:
Department: Finance
isPrivate: ${cpeIsPrivate}
Create Cpe Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cpe(name: string, args: CpeArgs, opts?: CustomResourceOptions);
@overload
def Cpe(resource_name: str,
args: CpeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Cpe(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
ip_address: Optional[str] = None,
cpe_device_shape_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
is_private: Optional[bool] = None)
func NewCpe(ctx *Context, name string, args CpeArgs, opts ...ResourceOption) (*Cpe, error)
public Cpe(string name, CpeArgs args, CustomResourceOptions? opts = null)
type: oci:Core:Cpe
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CpeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CpeArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CpeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CpeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CpeArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cpeResource = new Oci.Core.Cpe("cpeResource", new()
{
CompartmentId = "string",
IpAddress = "string",
CpeDeviceShapeId = "string",
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
IsPrivate = false,
});
example, err := Core.NewCpe(ctx, "cpeResource", &Core.CpeArgs{
CompartmentId: pulumi.String("string"),
IpAddress: pulumi.String("string"),
CpeDeviceShapeId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
IsPrivate: pulumi.Bool(false),
})
var cpeResource = new Cpe("cpeResource", CpeArgs.builder()
.compartmentId("string")
.ipAddress("string")
.cpeDeviceShapeId("string")
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.isPrivate(false)
.build());
cpe_resource = oci.core.Cpe("cpeResource",
compartment_id="string",
ip_address="string",
cpe_device_shape_id="string",
defined_tags={
"string": "string",
},
display_name="string",
freeform_tags={
"string": "string",
},
is_private=False)
const cpeResource = new oci.core.Cpe("cpeResource", {
compartmentId: "string",
ipAddress: "string",
cpeDeviceShapeId: "string",
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
isPrivate: false,
});
type: oci:Core:Cpe
properties:
compartmentId: string
cpeDeviceShapeId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
ipAddress: string
isPrivate: false
Cpe Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Cpe resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment to contain the CPE.
- Ip
Address string - The public IP address of the on-premises router. Example:
203.0.113.2
- Cpe
Device stringShape Id (Updatable) The OCID of the CPE device type. You can provide a value if you want to later generate CPE device configuration content for IPSec connections that use this CPE. You can also call UpdateCpe later to provide a value. For a list of possible values, see ListCpeDeviceShapes.
For more information about generating CPE device configuration content, see:
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Is
Private bool Indicates whether this CPE is of type
private
or not.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Compartment
Id string - (Updatable) The OCID of the compartment to contain the CPE.
- Ip
Address string - The public IP address of the on-premises router. Example:
203.0.113.2
- Cpe
Device stringShape Id (Updatable) The OCID of the CPE device type. You can provide a value if you want to later generate CPE device configuration content for IPSec connections that use this CPE. You can also call UpdateCpe later to provide a value. For a list of possible values, see ListCpeDeviceShapes.
For more information about generating CPE device configuration content, see:
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Is
Private bool Indicates whether this CPE is of type
private
or not.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The OCID of the compartment to contain the CPE.
- ip
Address String - The public IP address of the on-premises router. Example:
203.0.113.2
- cpe
Device StringShape Id (Updatable) The OCID of the CPE device type. You can provide a value if you want to later generate CPE device configuration content for IPSec connections that use this CPE. You can also call UpdateCpe later to provide a value. For a list of possible values, see ListCpeDeviceShapes.
For more information about generating CPE device configuration content, see:
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Private Boolean Indicates whether this CPE is of type
private
or not.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id string - (Updatable) The OCID of the compartment to contain the CPE.
- ip
Address string - The public IP address of the on-premises router. Example:
203.0.113.2
- cpe
Device stringShape Id (Updatable) The OCID of the CPE device type. You can provide a value if you want to later generate CPE device configuration content for IPSec connections that use this CPE. You can also call UpdateCpe later to provide a value. For a list of possible values, see ListCpeDeviceShapes.
For more information about generating CPE device configuration content, see:
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Private boolean Indicates whether this CPE is of type
private
or not.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment_
id str - (Updatable) The OCID of the compartment to contain the CPE.
- ip_
address str - The public IP address of the on-premises router. Example:
203.0.113.2
- cpe_
device_ strshape_ id (Updatable) The OCID of the CPE device type. You can provide a value if you want to later generate CPE device configuration content for IPSec connections that use this CPE. You can also call UpdateCpe later to provide a value. For a list of possible values, see ListCpeDeviceShapes.
For more information about generating CPE device configuration content, see:
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is_
private bool Indicates whether this CPE is of type
private
or not.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- compartment
Id String - (Updatable) The OCID of the compartment to contain the CPE.
- ip
Address String - The public IP address of the on-premises router. Example:
203.0.113.2
- cpe
Device StringShape Id (Updatable) The OCID of the CPE device type. You can provide a value if you want to later generate CPE device configuration content for IPSec connections that use this CPE. You can also call UpdateCpe later to provide a value. For a list of possible values, see ListCpeDeviceShapes.
For more information about generating CPE device configuration content, see:
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- is
Private Boolean Indicates whether this CPE is of type
private
or not.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Outputs
All input properties are implicitly available as output properties. Additionally, the Cpe resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Time
Created string - The date and time the CPE was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Id string
- The provider-assigned unique ID for this managed resource.
- Time
Created string - The date and time the CPE was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- id String
- The provider-assigned unique ID for this managed resource.
- time
Created String - The date and time the CPE was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- id string
- The provider-assigned unique ID for this managed resource.
- time
Created string - The date and time the CPE was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- id str
- The provider-assigned unique ID for this managed resource.
- time_
created str - The date and time the CPE was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- id String
- The provider-assigned unique ID for this managed resource.
- time
Created String - The date and time the CPE was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
Look up Existing Cpe Resource
Get an existing Cpe resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CpeState, opts?: CustomResourceOptions): Cpe
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
cpe_device_shape_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
ip_address: Optional[str] = None,
is_private: Optional[bool] = None,
time_created: Optional[str] = None) -> Cpe
func GetCpe(ctx *Context, name string, id IDInput, state *CpeState, opts ...ResourceOption) (*Cpe, error)
public static Cpe Get(string name, Input<string> id, CpeState? state, CustomResourceOptions? opts = null)
public static Cpe get(String name, Output<String> id, CpeState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - (Updatable) The OCID of the compartment to contain the CPE.
- Cpe
Device stringShape Id (Updatable) The OCID of the CPE device type. You can provide a value if you want to later generate CPE device configuration content for IPSec connections that use this CPE. You can also call UpdateCpe later to provide a value. For a list of possible values, see ListCpeDeviceShapes.
For more information about generating CPE device configuration content, see:
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Ip
Address string - The public IP address of the on-premises router. Example:
203.0.113.2
- Is
Private bool Indicates whether this CPE is of type
private
or not.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Time
Created string - The date and time the CPE was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Compartment
Id string - (Updatable) The OCID of the compartment to contain the CPE.
- Cpe
Device stringShape Id (Updatable) The OCID of the CPE device type. You can provide a value if you want to later generate CPE device configuration content for IPSec connections that use this CPE. You can also call UpdateCpe later to provide a value. For a list of possible values, see ListCpeDeviceShapes.
For more information about generating CPE device configuration content, see:
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- Ip
Address string - The public IP address of the on-premises router. Example:
203.0.113.2
- Is
Private bool Indicates whether this CPE is of type
private
or not.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Time
Created string - The date and time the CPE was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - (Updatable) The OCID of the compartment to contain the CPE.
- cpe
Device StringShape Id (Updatable) The OCID of the CPE device type. You can provide a value if you want to later generate CPE device configuration content for IPSec connections that use this CPE. You can also call UpdateCpe later to provide a value. For a list of possible values, see ListCpeDeviceShapes.
For more information about generating CPE device configuration content, see:
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- ip
Address String - The public IP address of the on-premises router. Example:
203.0.113.2
- is
Private Boolean Indicates whether this CPE is of type
private
or not.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Created String - The date and time the CPE was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id string - (Updatable) The OCID of the compartment to contain the CPE.
- cpe
Device stringShape Id (Updatable) The OCID of the CPE device type. You can provide a value if you want to later generate CPE device configuration content for IPSec connections that use this CPE. You can also call UpdateCpe later to provide a value. For a list of possible values, see ListCpeDeviceShapes.
For more information about generating CPE device configuration content, see:
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- ip
Address string - The public IP address of the on-premises router. Example:
203.0.113.2
- is
Private boolean Indicates whether this CPE is of type
private
or not.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Created string - The date and time the CPE was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment_
id str - (Updatable) The OCID of the compartment to contain the CPE.
- cpe_
device_ strshape_ id (Updatable) The OCID of the CPE device type. You can provide a value if you want to later generate CPE device configuration content for IPSec connections that use this CPE. You can also call UpdateCpe later to provide a value. For a list of possible values, see ListCpeDeviceShapes.
For more information about generating CPE device configuration content, see:
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- ip_
address str - The public IP address of the on-premises router. Example:
203.0.113.2
- is_
private bool Indicates whether this CPE is of type
private
or not.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time_
created str - The date and time the CPE was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - (Updatable) The OCID of the compartment to contain the CPE.
- cpe
Device StringShape Id (Updatable) The OCID of the CPE device type. You can provide a value if you want to later generate CPE device configuration content for IPSec connections that use this CPE. You can also call UpdateCpe later to provide a value. For a list of possible values, see ListCpeDeviceShapes.
For more information about generating CPE device configuration content, see:
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"}
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"}
- ip
Address String - The public IP address of the on-premises router. Example:
203.0.113.2
- is
Private Boolean Indicates whether this CPE is of type
private
or not.** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- time
Created String - The date and time the CPE was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
Import
Cpes can be imported using the id
, e.g.
$ pulumi import oci:Core/cpe:Cpe test_cpe "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.