1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. DrgRouteTable
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Core.DrgRouteTable

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This resource provides the Drg Route Table resource in Oracle Cloud Infrastructure Core service.

    Creates a new DRG route table for the specified DRG. Assign the DRG route table to a DRG attachment using the UpdateDrgAttachment or CreateDrgAttachment operations.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDrgRouteTable = new oci.core.DrgRouteTable("test_drg_route_table", {
        drgId: testDrg.id,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: drgRouteTableDisplayName,
        freeformTags: {
            Department: "Finance",
        },
        importDrgRouteDistributionId: testDrgRouteDistribution.id,
        isEcmpEnabled: drgRouteTableIsEcmpEnabled,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_drg_route_table = oci.core.DrgRouteTable("test_drg_route_table",
        drg_id=test_drg["id"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=drg_route_table_display_name,
        freeform_tags={
            "Department": "Finance",
        },
        import_drg_route_distribution_id=test_drg_route_distribution["id"],
        is_ecmp_enabled=drg_route_table_is_ecmp_enabled)
    
    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.NewDrgRouteTable(ctx, "test_drg_route_table", &Core.DrgRouteTableArgs{
    			DrgId: pulumi.Any(testDrg.Id),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			DisplayName: pulumi.Any(drgRouteTableDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			ImportDrgRouteDistributionId: pulumi.Any(testDrgRouteDistribution.Id),
    			IsEcmpEnabled:                pulumi.Any(drgRouteTableIsEcmpEnabled),
    		})
    		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 testDrgRouteTable = new Oci.Core.DrgRouteTable("test_drg_route_table", new()
        {
            DrgId = testDrg.Id,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = drgRouteTableDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            ImportDrgRouteDistributionId = testDrgRouteDistribution.Id,
            IsEcmpEnabled = drgRouteTableIsEcmpEnabled,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Core.DrgRouteTable;
    import com.pulumi.oci.Core.DrgRouteTableArgs;
    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 testDrgRouteTable = new DrgRouteTable("testDrgRouteTable", DrgRouteTableArgs.builder()
                .drgId(testDrg.id())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(drgRouteTableDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .importDrgRouteDistributionId(testDrgRouteDistribution.id())
                .isEcmpEnabled(drgRouteTableIsEcmpEnabled)
                .build());
    
        }
    }
    
    resources:
      testDrgRouteTable:
        type: oci:Core:DrgRouteTable
        name: test_drg_route_table
        properties:
          drgId: ${testDrg.id}
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${drgRouteTableDisplayName}
          freeformTags:
            Department: Finance
          importDrgRouteDistributionId: ${testDrgRouteDistribution.id}
          isEcmpEnabled: ${drgRouteTableIsEcmpEnabled}
    

    Create DrgRouteTable Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DrgRouteTable(name: string, args: DrgRouteTableArgs, opts?: CustomResourceOptions);
    @overload
    def DrgRouteTable(resource_name: str,
                      args: DrgRouteTableArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def DrgRouteTable(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      drg_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 NewDrgRouteTable(ctx *Context, name string, args DrgRouteTableArgs, opts ...ResourceOption) (*DrgRouteTable, error)
    public DrgRouteTable(string name, DrgRouteTableArgs args, CustomResourceOptions? opts = null)
    public DrgRouteTable(String name, DrgRouteTableArgs args)
    public DrgRouteTable(String name, DrgRouteTableArgs args, CustomResourceOptions options)
    
    type: oci:Core:DrgRouteTable
    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 DrgRouteTableArgs
    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 DrgRouteTableArgs
    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 DrgRouteTableArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DrgRouteTableArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DrgRouteTableArgs
    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 drgRouteTableResource = new Oci.Core.DrgRouteTable("drgRouteTableResource", new()
    {
        DrgId = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        ImportDrgRouteDistributionId = "string",
        IsEcmpEnabled = false,
        RemoveImportTrigger = false,
    });
    
    example, err := Core.NewDrgRouteTable(ctx, "drgRouteTableResource", &Core.DrgRouteTableArgs{
    	DrgId: 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),
    })
    
    var drgRouteTableResource = new DrgRouteTable("drgRouteTableResource", DrgRouteTableArgs.builder()
        .drgId("string")
        .definedTags(Map.of("string", "string"))
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .importDrgRouteDistributionId("string")
        .isEcmpEnabled(false)
        .removeImportTrigger(false)
        .build());
    
    drg_route_table_resource = oci.core.DrgRouteTable("drgRouteTableResource",
        drg_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 drgRouteTableResource = new oci.core.DrgRouteTable("drgRouteTableResource", {
        drgId: "string",
        definedTags: {
            string: "string",
        },
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        importDrgRouteDistributionId: "string",
        isEcmpEnabled: false,
        removeImportTrigger: false,
    });
    
    type: oci:Core:DrgRouteTable
    properties:
        definedTags:
            string: string
        displayName: string
        drgId: string
        freeformTags:
            string: string
        importDrgRouteDistributionId: string
        isEcmpEnabled: false
        removeImportTrigger: false
    

    DrgRouteTable 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 DrgRouteTable resource accepts the following input properties:

    DrgId string
    The OCID of the DRG the DRG route table belongs to.
    DefinedTags 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"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags 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"}
    ImportDrgRouteDistributionId string
    (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.
    IsEcmpEnabled bool
    (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.
    RemoveImportTrigger bool

    (Updatable) An optional property when flipped disables the import of route Distribution by setting import_drg_route_distribution_id to null.

    ** 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

    DrgId string
    The OCID of the DRG the DRG route table belongs to.
    DefinedTags 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"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags 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"}
    ImportDrgRouteDistributionId string
    (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.
    IsEcmpEnabled bool
    (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.
    RemoveImportTrigger bool

    (Updatable) An optional property when flipped disables the import of route Distribution by setting import_drg_route_distribution_id to null.

    ** 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

    drgId String
    The OCID of the DRG the DRG route table belongs to.
    definedTags 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"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags 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"}
    importDrgRouteDistributionId String
    (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.
    isEcmpEnabled Boolean
    (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.
    removeImportTrigger Boolean

    (Updatable) An optional property when flipped disables the import of route Distribution by setting import_drg_route_distribution_id to null.

    ** 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

    drgId string
    The OCID of the DRG the DRG route table belongs to.
    definedTags {[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"}
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[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"}
    importDrgRouteDistributionId string
    (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.
    isEcmpEnabled boolean
    (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.
    removeImportTrigger boolean

    (Updatable) An optional property when flipped disables the import of route Distribution by setting import_drg_route_distribution_id to null.

    ** 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

    drg_id str
    The OCID of the DRG the DRG route table belongs to.
    defined_tags 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.
    freeform_tags 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_route_distribution_id str
    (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_enabled bool
    (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_trigger bool

    (Updatable) An optional property when flipped disables the import of route Distribution by setting import_drg_route_distribution_id to null.

    ** 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

    drgId String
    The OCID of the DRG the DRG route table belongs to.
    definedTags 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"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags 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"}
    importDrgRouteDistributionId String
    (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.
    isEcmpEnabled Boolean
    (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.
    removeImportTrigger Boolean

    (Updatable) An optional property when flipped disables the import of route Distribution by setting import_drg_route_distribution_id to null.

    ** 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 DrgRouteTable resource produces the following output properties:

    CompartmentId string
    The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as the DRG.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The DRG route table's current state.
    TimeCreated string
    The date and time the DRG route table was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    CompartmentId string
    The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as the DRG.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The DRG route table's current state.
    TimeCreated string
    The date and time the DRG route table was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId String
    The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as the DRG.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The DRG route table's current state.
    timeCreated String
    The date and time the DRG route table was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId string
    The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as the DRG.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The DRG route table's current state.
    timeCreated 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.
    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
    compartmentId String
    The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as the DRG.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The DRG route table's current state.
    timeCreated 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 DrgRouteTable Resource

    Get an existing DrgRouteTable 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?: DrgRouteTableState, opts?: CustomResourceOptions): DrgRouteTable
    @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,
            drg_id: 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,
            state: Optional[str] = None,
            time_created: Optional[str] = None) -> DrgRouteTable
    func GetDrgRouteTable(ctx *Context, name string, id IDInput, state *DrgRouteTableState, opts ...ResourceOption) (*DrgRouteTable, error)
    public static DrgRouteTable Get(string name, Input<string> id, DrgRouteTableState? state, CustomResourceOptions? opts = null)
    public static DrgRouteTable get(String name, Output<String> id, DrgRouteTableState 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.
    The following state arguments are supported:
    CompartmentId string
    The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as the DRG.
    DefinedTags 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"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DrgId string
    The OCID of the DRG the DRG route table belongs to.
    FreeformTags 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"}
    ImportDrgRouteDistributionId string
    (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.
    IsEcmpEnabled bool
    (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.
    RemoveImportTrigger bool

    (Updatable) An optional property when flipped disables the import of route Distribution by setting import_drg_route_distribution_id to null.

    ** 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

    State string
    The DRG route table's current state.
    TimeCreated string
    The date and time the DRG route table was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    CompartmentId string
    The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as the DRG.
    DefinedTags 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"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    DrgId string
    The OCID of the DRG the DRG route table belongs to.
    FreeformTags 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"}
    ImportDrgRouteDistributionId string
    (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.
    IsEcmpEnabled bool
    (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.
    RemoveImportTrigger bool

    (Updatable) An optional property when flipped disables the import of route Distribution by setting import_drg_route_distribution_id to null.

    ** 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

    State string
    The DRG route table's current state.
    TimeCreated string
    The date and time the DRG route table was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId String
    The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as the DRG.
    definedTags 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"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    drgId String
    The OCID of the DRG the DRG route table belongs to.
    freeformTags 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"}
    importDrgRouteDistributionId String
    (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.
    isEcmpEnabled Boolean
    (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.
    removeImportTrigger Boolean

    (Updatable) An optional property when flipped disables the import of route Distribution by setting import_drg_route_distribution_id to null.

    ** 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

    state String
    The DRG route table's current state.
    timeCreated String
    The date and time the DRG route table was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId string
    The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as the DRG.
    definedTags {[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"}
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    drgId string
    The OCID of the DRG the DRG route table belongs to.
    freeformTags {[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"}
    importDrgRouteDistributionId string
    (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.
    isEcmpEnabled boolean
    (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.
    removeImportTrigger boolean

    (Updatable) An optional property when flipped disables the import of route Distribution by setting import_drg_route_distribution_id to null.

    ** 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

    state string
    The DRG route table's current state.
    timeCreated 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.
    defined_tags 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.
    drg_id str
    The OCID of the DRG the DRG route table belongs to.
    freeform_tags 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_route_distribution_id str
    (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_enabled bool
    (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_trigger bool

    (Updatable) An optional property when flipped disables the import of route Distribution by setting import_drg_route_distribution_id to null.

    ** 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

    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
    compartmentId String
    The OCID of the compartment the DRG is in. The DRG route table is always in the same compartment as the DRG.
    definedTags 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"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    drgId String
    The OCID of the DRG the DRG route table belongs to.
    freeformTags 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"}
    importDrgRouteDistributionId String
    (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.
    isEcmpEnabled Boolean
    (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.
    removeImportTrigger Boolean

    (Updatable) An optional property when flipped disables the import of route Distribution by setting import_drg_route_distribution_id to null.

    ** 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

    state String
    The DRG route table's current state.
    timeCreated 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

    DrgRouteTables can be imported using the id, e.g.

    $ pulumi import oci:Core/drgRouteTable:DrgRouteTable test_drg_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 oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi