published on Wednesday, Jul 15, 2026 by Pulumi
published on Wednesday, Jul 15, 2026 by Pulumi
This resource provides the Default Drg Route Table resource in Oracle Cloud Infrastructure Core service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/iaas/latest/DrgRouteTable
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/
Manages an Oracle-created default DRG route table. Use this resource when you want Terraform to adopt and manage the default DRG route table that already exists for a DRG attachment type instead of creating a new DRG route table.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const defaultDrgRouteTable = new oci.core.DefaultDrgRouteTable("default_drg_route_table", {
manageDefaultResourceId: testDrg.defaultDrgRouteTables[0].vcn,
definedTags: {
"Operations.CostCenter": "42",
},
displayName: "managed-default-drg-route-table",
freeformTags: {
Department: "Finance",
},
importDrgRouteDistributionId: testDrgRouteDistribution.id,
isEcmpEnabled: true,
});
import pulumi
import pulumi_oci as oci
default_drg_route_table = oci.core.DefaultDrgRouteTable("default_drg_route_table",
manage_default_resource_id=test_drg["defaultDrgRouteTables"][0]["vcn"],
defined_tags={
"Operations.CostCenter": "42",
},
display_name="managed-default-drg-route-table",
freeform_tags={
"Department": "Finance",
},
import_drg_route_distribution_id=test_drg_route_distribution["id"],
is_ecmp_enabled=True)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := core.NewDefaultDrgRouteTable(ctx, "default_drg_route_table", &core.DefaultDrgRouteTableArgs{
ManageDefaultResourceId: pulumi.Any(testDrg.DefaultDrgRouteTables[0].Vcn),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
DisplayName: pulumi.String("managed-default-drg-route-table"),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
ImportDrgRouteDistributionId: pulumi.Any(testDrgRouteDistribution.Id),
IsEcmpEnabled: pulumi.Bool(true),
})
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 defaultDrgRouteTable = new Oci.Core.DefaultDrgRouteTable("default_drg_route_table", new()
{
ManageDefaultResourceId = testDrg.DefaultDrgRouteTables[0].Vcn,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
DisplayName = "managed-default-drg-route-table",
FreeformTags =
{
{ "Department", "Finance" },
},
ImportDrgRouteDistributionId = testDrgRouteDistribution.Id,
IsEcmpEnabled = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.DefaultDrgRouteTable;
import com.pulumi.oci.Core.DefaultDrgRouteTableArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 defaultDrgRouteTable = new DefaultDrgRouteTable("defaultDrgRouteTable", DefaultDrgRouteTableArgs.builder()
.manageDefaultResourceId(testDrg.defaultDrgRouteTables()[0].vcn())
.definedTags(Map.of("Operations.CostCenter", "42"))
.displayName("managed-default-drg-route-table")
.freeformTags(Map.of("Department", "Finance"))
.importDrgRouteDistributionId(testDrgRouteDistribution.id())
.isEcmpEnabled(true)
.build());
}
}
resources:
defaultDrgRouteTable:
type: oci:Core:DefaultDrgRouteTable
name: default_drg_route_table
properties:
manageDefaultResourceId: ${testDrg.defaultDrgRouteTables[0].vcn}
definedTags:
Operations.CostCenter: '42'
displayName: managed-default-drg-route-table
freeformTags:
Department: Finance
importDrgRouteDistributionId: ${testDrgRouteDistribution.id}
isEcmpEnabled: true
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
resource "oci_core_defaultdrgroutetable" "default_drg_route_table" {
manage_default_resource_id = testDrg.defaultDrgRouteTables[0].vcn
defined_tags = {
"Operations.CostCenter" = "42"
}
display_name = "managed-default-drg-route-table"
freeform_tags = {
"Department" = "Finance"
}
import_drg_route_distribution_id = testDrgRouteDistribution.id
is_ecmp_enabled = true
}
Create DefaultDrgRouteTable Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DefaultDrgRouteTable(name: string, args: DefaultDrgRouteTableArgs, opts?: CustomResourceOptions);@overload
def DefaultDrgRouteTable(resource_name: str,
args: DefaultDrgRouteTableArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DefaultDrgRouteTable(resource_name: str,
opts: Optional[ResourceOptions] = None,
manage_default_resource_id: Optional[str] = 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,
import_drg_route_distribution_id: Optional[str] = None,
is_ecmp_enabled: Optional[bool] = None,
remove_import_trigger: Optional[bool] = None)func NewDefaultDrgRouteTable(ctx *Context, name string, args DefaultDrgRouteTableArgs, opts ...ResourceOption) (*DefaultDrgRouteTable, error)public DefaultDrgRouteTable(string name, DefaultDrgRouteTableArgs args, CustomResourceOptions? opts = null)
public DefaultDrgRouteTable(String name, DefaultDrgRouteTableArgs args)
public DefaultDrgRouteTable(String name, DefaultDrgRouteTableArgs args, CustomResourceOptions options)
type: oci:Core:DefaultDrgRouteTable
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "oci_core_default_drg_route_table" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DefaultDrgRouteTableArgs
- 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 DefaultDrgRouteTableArgs
- 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 DefaultDrgRouteTableArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DefaultDrgRouteTableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DefaultDrgRouteTableArgs
- 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 defaultDrgRouteTableResource = new Oci.Core.DefaultDrgRouteTable("defaultDrgRouteTableResource", new()
{
ManageDefaultResourceId = "string",
CompartmentId = "string",
DefinedTags =
{
{ "string", "string" },
},
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
ImportDrgRouteDistributionId = "string",
IsEcmpEnabled = false,
RemoveImportTrigger = false,
});
example, err := core.NewDefaultDrgRouteTable(ctx, "defaultDrgRouteTableResource", &core.DefaultDrgRouteTableArgs{
ManageDefaultResourceId: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
ImportDrgRouteDistributionId: pulumi.String("string"),
IsEcmpEnabled: pulumi.Bool(false),
RemoveImportTrigger: pulumi.Bool(false),
})
resource "oci_core_default_drg_route_table" "defaultDrgRouteTableResource" {
lifecycle {
create_before_destroy = true
}
manage_default_resource_id = "string"
compartment_id = "string"
defined_tags = {
"string" = "string"
}
display_name = "string"
freeform_tags = {
"string" = "string"
}
import_drg_route_distribution_id = "string"
is_ecmp_enabled = false
remove_import_trigger = false
}
var defaultDrgRouteTableResource = new DefaultDrgRouteTable("defaultDrgRouteTableResource", DefaultDrgRouteTableArgs.builder()
.manageDefaultResourceId("string")
.compartmentId("string")
.definedTags(Map.of("string", "string"))
.displayName("string")
.freeformTags(Map.of("string", "string"))
.importDrgRouteDistributionId("string")
.isEcmpEnabled(false)
.removeImportTrigger(false)
.build());
default_drg_route_table_resource = oci.core.DefaultDrgRouteTable("defaultDrgRouteTableResource",
manage_default_resource_id="string",
compartment_id="string",
defined_tags={
"string": "string",
},
display_name="string",
freeform_tags={
"string": "string",
},
import_drg_route_distribution_id="string",
is_ecmp_enabled=False,
remove_import_trigger=False)
const defaultDrgRouteTableResource = new oci.core.DefaultDrgRouteTable("defaultDrgRouteTableResource", {
manageDefaultResourceId: "string",
compartmentId: "string",
definedTags: {
string: "string",
},
displayName: "string",
freeformTags: {
string: "string",
},
importDrgRouteDistributionId: "string",
isEcmpEnabled: false,
removeImportTrigger: false,
});
type: oci:Core:DefaultDrgRouteTable
properties:
compartmentId: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
importDrgRouteDistributionId: string
isEcmpEnabled: false
manageDefaultResourceId: string
removeImportTrigger: false
DefaultDrgRouteTable 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 DefaultDrgRouteTable resource accepts the following input properties:
- Manage
Default stringResource Id - The OCID of the default DRG route table to manage.
- Compartment
Id string - The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as 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"} - Import
Drg stringRoute Distribution Id - (Updatable) The OCID of the import route distribution used to specify how incoming route advertisements through referenced attachments are inserted into the DRG route table.
- Is
Ecmp boolEnabled - (Updatable) If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises networks, enable ECMP on the DRG route table.
- Remove
Import boolTrigger - (Updatable) An optional property when flipped disables the import of route Distribution by setting importDrgRouteDistributionId to null.
- Manage
Default stringResource Id - The OCID of the default DRG route table to manage.
- Compartment
Id string - The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as 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"} - Import
Drg stringRoute Distribution Id - (Updatable) The OCID of the import route distribution used to specify how incoming route advertisements through referenced attachments are inserted into the DRG route table.
- Is
Ecmp boolEnabled - (Updatable) If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises networks, enable ECMP on the DRG route table.
- Remove
Import boolTrigger - (Updatable) An optional property when flipped disables the import of route Distribution by setting importDrgRouteDistributionId to null.
- manage_
default_ stringresource_ id - The OCID of the default DRG route table to manage.
- compartment_
id string - The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as 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"} - import_
drg_ stringroute_ distribution_ id - (Updatable) The OCID of the import route distribution used to specify how incoming route advertisements through referenced attachments are inserted into the DRG route table.
- is_
ecmp_ boolenabled - (Updatable) If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises networks, enable ECMP on the DRG route table.
- remove_
import_ booltrigger - (Updatable) An optional property when flipped disables the import of route Distribution by setting importDrgRouteDistributionId to null.
- manage
Default StringResource Id - The OCID of the default DRG route table to manage.
- compartment
Id String - The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as 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"} - import
Drg StringRoute Distribution Id - (Updatable) The OCID of the import route distribution used to specify how incoming route advertisements through referenced attachments are inserted into the DRG route table.
- is
Ecmp BooleanEnabled - (Updatable) If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises networks, enable ECMP on the DRG route table.
- remove
Import BooleanTrigger - (Updatable) An optional property when flipped disables the import of route Distribution by setting importDrgRouteDistributionId to null.
- manage
Default stringResource Id - The OCID of the default DRG route table to manage.
- compartment
Id string - The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as 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"} - import
Drg stringRoute Distribution Id - (Updatable) The OCID of the import route distribution used to specify how incoming route advertisements through referenced attachments are inserted into the DRG route table.
- is
Ecmp booleanEnabled - (Updatable) If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises networks, enable ECMP on the DRG route table.
- remove
Import booleanTrigger - (Updatable) An optional property when flipped disables the import of route Distribution by setting importDrgRouteDistributionId to null.
- manage_
default_ strresource_ id - The OCID of the default DRG route table to manage.
- compartment_
id str - The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as 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"} - import_
drg_ strroute_ distribution_ id - (Updatable) The OCID of the import route distribution used to specify how incoming route advertisements through referenced attachments are inserted into the DRG route table.
- is_
ecmp_ boolenabled - (Updatable) If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises networks, enable ECMP on the DRG route table.
- remove_
import_ booltrigger - (Updatable) An optional property when flipped disables the import of route Distribution by setting importDrgRouteDistributionId to null.
- manage
Default StringResource Id - The OCID of the default DRG route table to manage.
- compartment
Id String - The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as 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"} - import
Drg StringRoute Distribution Id - (Updatable) The OCID of the import route distribution used to specify how incoming route advertisements through referenced attachments are inserted into the DRG route table.
- is
Ecmp BooleanEnabled - (Updatable) If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises networks, enable ECMP on the DRG route table.
- remove
Import BooleanTrigger - (Updatable) An optional property when flipped disables the import of route Distribution by setting importDrgRouteDistributionId to null.
Outputs
All input properties are implicitly available as output properties. Additionally, the DefaultDrgRouteTable resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The DRG route table's current state.
- Time
Created string - The date and time the DRG route table 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.
- State string
- The DRG route table's current state.
- Time
Created string - The date and time the DRG route table 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.
- state string
- The DRG route table's current state.
- time_
created string - The date and time the DRG route table 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.
- state String
- The DRG route table's current state.
- time
Created String - The date and time the DRG route table 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.
- state string
- The DRG route table's current state.
- time
Created string - The date and time the DRG route table 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.
- state str
- The DRG route table's current state.
- time_
created str - The date and time the DRG route table 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.
- state String
- The DRG route table's current state.
- time
Created String - The date and time the DRG route table was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
Look up Existing DefaultDrgRouteTable Resource
Get an existing DefaultDrgRouteTable 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?: DefaultDrgRouteTableState, opts?: CustomResourceOptions): DefaultDrgRouteTable@staticmethod
def get(resource_name: str,
id: 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,
import_drg_route_distribution_id: Optional[str] = None,
is_ecmp_enabled: Optional[bool] = None,
manage_default_resource_id: Optional[str] = None,
remove_import_trigger: Optional[bool] = None,
state: Optional[str] = None,
time_created: Optional[str] = None) -> DefaultDrgRouteTablefunc GetDefaultDrgRouteTable(ctx *Context, name string, id IDInput, state *DefaultDrgRouteTableState, opts ...ResourceOption) (*DefaultDrgRouteTable, error)public static DefaultDrgRouteTable Get(string name, Input<string> id, DefaultDrgRouteTableState? state, CustomResourceOptions? opts = null)public static DefaultDrgRouteTable get(String name, Output<String> id, DefaultDrgRouteTableState state, CustomResourceOptions options)resources: _: type: oci:Core:DefaultDrgRouteTable get: id: ${id}import {
to = oci_core_default_drg_route_table.example
id = "${id}"
}
- 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 - The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as 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"} - Import
Drg stringRoute Distribution Id - (Updatable) The OCID of the import route distribution used to specify how incoming route advertisements through referenced attachments are inserted into the DRG route table.
- Is
Ecmp boolEnabled - (Updatable) If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises networks, enable ECMP on the DRG route table.
- Manage
Default stringResource Id - The OCID of the default DRG route table to manage.
- Remove
Import boolTrigger - (Updatable) An optional property when flipped disables the import of route Distribution by setting importDrgRouteDistributionId to null.
- State string
- The DRG route table's current state.
- Time
Created string - The date and time the DRG route table was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- Compartment
Id string - The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as 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"} - Import
Drg stringRoute Distribution Id - (Updatable) The OCID of the import route distribution used to specify how incoming route advertisements through referenced attachments are inserted into the DRG route table.
- Is
Ecmp boolEnabled - (Updatable) If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises networks, enable ECMP on the DRG route table.
- Manage
Default stringResource Id - The OCID of the default DRG route table to manage.
- Remove
Import boolTrigger - (Updatable) An optional property when flipped disables the import of route Distribution by setting importDrgRouteDistributionId to null.
- State string
- The DRG route table's current state.
- Time
Created string - The date and time the DRG route table was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment_
id string - The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as 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"} - import_
drg_ stringroute_ distribution_ id - (Updatable) The OCID of the import route distribution used to specify how incoming route advertisements through referenced attachments are inserted into the DRG route table.
- is_
ecmp_ boolenabled - (Updatable) If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises networks, enable ECMP on the DRG route table.
- manage_
default_ stringresource_ id - The OCID of the default DRG route table to manage.
- remove_
import_ booltrigger - (Updatable) An optional property when flipped disables the import of route Distribution by setting importDrgRouteDistributionId to null.
- state string
- The DRG route table's current state.
- time_
created string - The date and time the DRG route table was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as 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"} - import
Drg StringRoute Distribution Id - (Updatable) The OCID of the import route distribution used to specify how incoming route advertisements through referenced attachments are inserted into the DRG route table.
- is
Ecmp BooleanEnabled - (Updatable) If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises networks, enable ECMP on the DRG route table.
- manage
Default StringResource Id - The OCID of the default DRG route table to manage.
- remove
Import BooleanTrigger - (Updatable) An optional property when flipped disables the import of route Distribution by setting importDrgRouteDistributionId to null.
- state String
- The DRG route table's current state.
- time
Created String - The date and time the DRG route table was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id string - The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as 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"} - import
Drg stringRoute Distribution Id - (Updatable) The OCID of the import route distribution used to specify how incoming route advertisements through referenced attachments are inserted into the DRG route table.
- is
Ecmp booleanEnabled - (Updatable) If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises networks, enable ECMP on the DRG route table.
- manage
Default stringResource Id - The OCID of the default DRG route table to manage.
- remove
Import booleanTrigger - (Updatable) An optional property when flipped disables the import of route Distribution by setting importDrgRouteDistributionId to null.
- state string
- The DRG route table's current state.
- time
Created string - The date and time the DRG route table was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment_
id str - The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as 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"} - import_
drg_ strroute_ distribution_ id - (Updatable) The OCID of the import route distribution used to specify how incoming route advertisements through referenced attachments are inserted into the DRG route table.
- is_
ecmp_ boolenabled - (Updatable) If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises networks, enable ECMP on the DRG route table.
- manage_
default_ strresource_ id - The OCID of the default DRG route table to manage.
- remove_
import_ booltrigger - (Updatable) An optional property when flipped disables the import of route Distribution by setting importDrgRouteDistributionId to null.
- state str
- The DRG route table's current state.
- time_
created str - The date and time the DRG route table was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as 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"} - import
Drg StringRoute Distribution Id - (Updatable) The OCID of the import route distribution used to specify how incoming route advertisements through referenced attachments are inserted into the DRG route table.
- is
Ecmp BooleanEnabled - (Updatable) If you want traffic to be routed using ECMP across your virtual circuits or IPSec tunnels to your on-premises networks, enable ECMP on the DRG route table.
- manage
Default StringResource Id - The OCID of the default DRG route table to manage.
- remove
Import BooleanTrigger - (Updatable) An optional property when flipped disables the import of route Distribution by setting importDrgRouteDistributionId to null.
- state String
- The DRG route table's current state.
- time
Created String - The date and time the DRG route table was created, in the format defined by RFC3339. Example:
2016-08-25T21:10:29.600Z
Import
DefaultDrgRouteTables can be imported using the id, e.g.
$ pulumi import oci:Core/defaultDrgRouteTable:DefaultDrgRouteTable default_vcn_route_table "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
ociTerraform Provider.
published on Wednesday, Jul 15, 2026 by Pulumi