oci.Core.Drg
Explore with Pulumi AI
This resource provides the Drg resource in Oracle Cloud Infrastructure Core service.
Creates a new dynamic routing gateway (DRG) in the specified compartment. For more information, see Dynamic Routing Gateways (DRGs).
For the purposes of access control, you must provide the OCID of the compartment where you want the DRG to reside. Notice that the DRG doesn’t have to be in the same compartment as the VCN, the DRG attachment, or other Networking Service components. If you’re not sure which compartment to use, put the DRG in the same compartment as the VCN. For more information about compartments and access control, see Overview of the IAM Service. For information about OCIDs, see Resource Identifiers.
You may optionally specify a display name for the DRG, 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 testDrg = new oci.core.Drg("test_drg", {
compartmentId: compartmentId,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: drgDisplayName,
freeformTags: {
Department: "Finance",
},
});
import pulumi
import pulumi_oci as oci
test_drg = oci.core.Drg("test_drg",
compartment_id=compartment_id,
defined_tags={
"Operations.CostCenter": "42",
},
display_name=drg_display_name,
freeform_tags={
"Department": "Finance",
})
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.NewDrg(ctx, "test_drg", &Core.DrgArgs{
CompartmentId: pulumi.Any(compartmentId),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.Any(drgDisplayName),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
})
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 testDrg = new Oci.Core.Drg("test_drg", new()
{
CompartmentId = compartmentId,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = drgDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.Drg;
import com.pulumi.oci.Core.DrgArgs;
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 testDrg = new Drg("testDrg", DrgArgs.builder()
.compartmentId(compartmentId)
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName(drgDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.build());
}
}
resources:
testDrg:
type: oci:Core:Drg
name: test_drg
properties:
compartmentId: ${compartmentId}
definedTags:
Operations.CostCenter: '42'
displayName: ${drgDisplayName}
freeformTags:
Department: Finance
Create Drg Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Drg(name: string, args: DrgArgs, opts?: CustomResourceOptions);
@overload
def Drg(resource_name: str,
args: DrgArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Drg(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None)
func NewDrg(ctx *Context, name string, args DrgArgs, opts ...ResourceOption) (*Drg, error)
public Drg(string name, DrgArgs args, CustomResourceOptions? opts = null)
type: oci:Core:Drg
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 DrgArgs
- 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 DrgArgs
- 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 DrgArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DrgArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DrgArgs
- 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 drgResource = new Oci.Core.Drg("drgResource", new()
{
CompartmentId = "string",
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
});
example, err := Core.NewDrg(ctx, "drgResource", &Core.DrgArgs{
CompartmentId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var drgResource = new Drg("drgResource", DrgArgs.builder()
.compartmentId("string")
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.build());
drg_resource = oci.core.Drg("drgResource",
compartment_id="string",
defined_tags={
"string": "string",
},
display_name="string",
freeform_tags={
"string": "string",
})
const drgResource = new oci.core.Drg("drgResource", {
compartmentId: "string",
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
});
type: oci:Core:Drg
properties:
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
Drg Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Drg resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment to contain the DRG.
- 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"}
** 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 DRG.
- 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"}
** 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 DRG.
- 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"}
** 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 DRG.
- {[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"}
** 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 DRG.
- 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"}
** 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 DRG.
- 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"}
** 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 Drg resource produces the following output properties:
- Default
Drg List<DrgRoute Tables Default Drg Route Table> - The default DRG route table for this DRG. Each network type has a default DRG route table.
- Default
Export stringDrg Route Distribution Id - The OCID of this DRG's default export route distribution for the DRG attachments.
- Id string
- The provider-assigned unique ID for this managed resource.
- Redundancy
Status string - The redundancy status of the DRG specified.
- State string
- The DRG's current state.
- Time
Created string - The date and time the DRG was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Default
Drg []DrgRoute Tables Default Drg Route Table - The default DRG route table for this DRG. Each network type has a default DRG route table.
- Default
Export stringDrg Route Distribution Id - The OCID of this DRG's default export route distribution for the DRG attachments.
- Id string
- The provider-assigned unique ID for this managed resource.
- Redundancy
Status string - The redundancy status of the DRG specified.
- State string
- The DRG's current state.
- Time
Created string - The date and time the DRG was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- default
Drg List<DrgRoute Tables Default Drg Route Table> - The default DRG route table for this DRG. Each network type has a default DRG route table.
- default
Export StringDrg Route Distribution Id - The OCID of this DRG's default export route distribution for the DRG attachments.
- id String
- The provider-assigned unique ID for this managed resource.
- redundancy
Status String - The redundancy status of the DRG specified.
- state String
- The DRG's current state.
- time
Created String - The date and time the DRG was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- default
Drg DrgRoute Tables Default Drg Route Table[] - The default DRG route table for this DRG. Each network type has a default DRG route table.
- default
Export stringDrg Route Distribution Id - The OCID of this DRG's default export route distribution for the DRG attachments.
- id string
- The provider-assigned unique ID for this managed resource.
- redundancy
Status string - The redundancy status of the DRG specified.
- state string
- The DRG's current state.
- time
Created string - The date and time the DRG was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- default_
drg_ Sequence[core.route_ tables Drg Default Drg Route Table] - The default DRG route table for this DRG. Each network type has a default DRG route table.
- default_
export_ strdrg_ route_ distribution_ id - The OCID of this DRG's default export route distribution for the DRG attachments.
- id str
- The provider-assigned unique ID for this managed resource.
- redundancy_
status str - The redundancy status of the DRG specified.
- state str
- The DRG's current state.
- time_
created str - The date and time the DRG was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- default
Drg List<Property Map>Route Tables - The default DRG route table for this DRG. Each network type has a default DRG route table.
- default
Export StringDrg Route Distribution Id - The OCID of this DRG's default export route distribution for the DRG attachments.
- id String
- The provider-assigned unique ID for this managed resource.
- redundancy
Status String - The redundancy status of the DRG specified.
- state String
- The DRG's current state.
- time
Created String - The date and time the DRG was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
Look up Existing Drg Resource
Get an existing Drg 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?: DrgState, opts?: CustomResourceOptions): Drg
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
default_drg_route_tables: Optional[Sequence[_core.DrgDefaultDrgRouteTableArgs]] = None,
default_export_drg_route_distribution_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
redundancy_status: Optional[str] = None,
state: Optional[str] = None,
time_created: Optional[str] = None) -> Drg
func GetDrg(ctx *Context, name string, id IDInput, state *DrgState, opts ...ResourceOption) (*Drg, error)
public static Drg Get(string name, Input<string> id, DrgState? state, CustomResourceOptions? opts = null)
public static Drg get(String name, Output<String> id, DrgState 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 DRG.
- Default
Drg List<DrgRoute Tables Default Drg Route Table> - The default DRG route table for this DRG. Each network type has a default DRG route table.
- Default
Export stringDrg Route Distribution Id - The OCID of this DRG's default export route distribution for the DRG attachments.
- 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"}
** 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
- Redundancy
Status string - The redundancy status of the DRG specified.
- State string
- The DRG's current state.
- Time
Created string - The date and time the DRG 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 DRG.
- Default
Drg []DrgRoute Tables Default Drg Route Table Args - The default DRG route table for this DRG. Each network type has a default DRG route table.
- Default
Export stringDrg Route Distribution Id - The OCID of this DRG's default export route distribution for the DRG attachments.
- 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"}
** 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
- Redundancy
Status string - The redundancy status of the DRG specified.
- State string
- The DRG's current state.
- Time
Created string - The date and time the DRG 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 DRG.
- default
Drg List<DrgRoute Tables Default Drg Route Table> - The default DRG route table for this DRG. Each network type has a default DRG route table.
- default
Export StringDrg Route Distribution Id - The OCID of this DRG's default export route distribution for the DRG attachments.
- 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"}
** 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
- redundancy
Status String - The redundancy status of the DRG specified.
- state String
- The DRG's current state.
- time
Created String - The date and time the DRG 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 DRG.
- default
Drg DrgRoute Tables Default Drg Route Table[] - The default DRG route table for this DRG. Each network type has a default DRG route table.
- default
Export stringDrg Route Distribution Id - The OCID of this DRG's default export route distribution for the DRG attachments.
- {[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"}
** 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
- redundancy
Status string - The redundancy status of the DRG specified.
- state string
- The DRG's current state.
- time
Created string - The date and time the DRG 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 DRG.
- default_
drg_ Sequence[core.route_ tables Drg Default Drg Route Table Args] - The default DRG route table for this DRG. Each network type has a default DRG route table.
- default_
export_ strdrg_ route_ distribution_ id - The OCID of this DRG's default export route distribution for the DRG attachments.
- 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"}
** 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
- redundancy_
status str - The redundancy status of the DRG specified.
- state str
- The DRG's current state.
- time_
created str - The date and time the DRG 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 DRG.
- default
Drg List<Property Map>Route Tables - The default DRG route table for this DRG. Each network type has a default DRG route table.
- default
Export StringDrg Route Distribution Id - The OCID of this DRG's default export route distribution for the DRG attachments.
- 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"}
** 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
- redundancy
Status String - The redundancy status of the DRG specified.
- state String
- The DRG's current state.
- time
Created String - The date and time the DRG was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
Supporting Types
DrgDefaultDrgRouteTable, DrgDefaultDrgRouteTableArgs
- Ipsec
Tunnel string - The OCID of the default DRG route table assigned to DRG attachments of type IPSEC_TUNNEL on creation.
- Remote
Peering stringConnection - The OCID of the default DRG route table to be assigned to DRG attachments of type REMOTE_PEERING_CONNECTION on creation.
- Vcn string
- The OCID of the default DRG route table to be assigned to DRG attachments of type VCN on creation.
- Virtual
Circuit string - The OCID of the default DRG route table to be assigned to DRG attachments of type VIRTUAL_CIRCUIT on creation.
- Ipsec
Tunnel string - The OCID of the default DRG route table assigned to DRG attachments of type IPSEC_TUNNEL on creation.
- Remote
Peering stringConnection - The OCID of the default DRG route table to be assigned to DRG attachments of type REMOTE_PEERING_CONNECTION on creation.
- Vcn string
- The OCID of the default DRG route table to be assigned to DRG attachments of type VCN on creation.
- Virtual
Circuit string - The OCID of the default DRG route table to be assigned to DRG attachments of type VIRTUAL_CIRCUIT on creation.
- ipsec
Tunnel String - The OCID of the default DRG route table assigned to DRG attachments of type IPSEC_TUNNEL on creation.
- remote
Peering StringConnection - The OCID of the default DRG route table to be assigned to DRG attachments of type REMOTE_PEERING_CONNECTION on creation.
- vcn String
- The OCID of the default DRG route table to be assigned to DRG attachments of type VCN on creation.
- virtual
Circuit String - The OCID of the default DRG route table to be assigned to DRG attachments of type VIRTUAL_CIRCUIT on creation.
- ipsec
Tunnel string - The OCID of the default DRG route table assigned to DRG attachments of type IPSEC_TUNNEL on creation.
- remote
Peering stringConnection - The OCID of the default DRG route table to be assigned to DRG attachments of type REMOTE_PEERING_CONNECTION on creation.
- vcn string
- The OCID of the default DRG route table to be assigned to DRG attachments of type VCN on creation.
- virtual
Circuit string - The OCID of the default DRG route table to be assigned to DRG attachments of type VIRTUAL_CIRCUIT on creation.
- ipsec_
tunnel str - The OCID of the default DRG route table assigned to DRG attachments of type IPSEC_TUNNEL on creation.
- remote_
peering_ strconnection - The OCID of the default DRG route table to be assigned to DRG attachments of type REMOTE_PEERING_CONNECTION on creation.
- vcn str
- The OCID of the default DRG route table to be assigned to DRG attachments of type VCN on creation.
- virtual_
circuit str - The OCID of the default DRG route table to be assigned to DRG attachments of type VIRTUAL_CIRCUIT on creation.
- ipsec
Tunnel String - The OCID of the default DRG route table assigned to DRG attachments of type IPSEC_TUNNEL on creation.
- remote
Peering StringConnection - The OCID of the default DRG route table to be assigned to DRG attachments of type REMOTE_PEERING_CONNECTION on creation.
- vcn String
- The OCID of the default DRG route table to be assigned to DRG attachments of type VCN on creation.
- virtual
Circuit String - The OCID of the default DRG route table to be assigned to DRG attachments of type VIRTUAL_CIRCUIT on creation.
Import
Drgs can be imported using the id
, e.g.
$ pulumi import oci:Core/drg:Drg test_drg "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.