oci logo
Oracle Cloud Infrastructure v0.19.0, May 26 23

oci.Core.DrgAttachmentManagement

Explore with Pulumi AI

This resource provides the Drg Attachment Management resource in Oracle Cloud Infrastructure Core service.

This can be used to update the Drg Attachments of the following types - “IPSEC_TUNNEL”, “REMOTE_PEERING_CONNECTION”, “VIRTUAL_CIRCUIT”,

DRG Attachments for virtual circuits, IPSec tunnels, and remote peering connections are created (and deleted) automatically on your behalf when you create (or delete) the network object. Hence, this management resource is used to update these types of autogenerated DRG Attachments. The user cannot create DRG attachments of these types as needed.

For the purposes of access control, the DRG attachment is automatically placed into the currently selected compartment. For more information about compartments and access control, see Overview of the IAM Service.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testDrgRpcAttachment = new Oci.Core.DrgAttachmentManagement("testDrgRpcAttachment", new()
    {
        AttachmentType = "REMOTE_PEERING_CONNECTION",
        CompartmentId = @var.Compartment_ocid,
        NetworkId = oci_core_remote_peering_connection.Test_rpc.Id,
        DrgId = oci_core_drg.Test_drg.Id,
        DisplayName = "MyTestDrgAttachmentForRpc",
        DrgRouteTableId = oci_core_drg_route_table.Test_drg_route_table.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Core.NewDrgAttachmentManagement(ctx, "testDrgRpcAttachment", &Core.DrgAttachmentManagementArgs{
			AttachmentType:  pulumi.String("REMOTE_PEERING_CONNECTION"),
			CompartmentId:   pulumi.Any(_var.Compartment_ocid),
			NetworkId:       pulumi.Any(oci_core_remote_peering_connection.Test_rpc.Id),
			DrgId:           pulumi.Any(oci_core_drg.Test_drg.Id),
			DisplayName:     pulumi.String("MyTestDrgAttachmentForRpc"),
			DrgRouteTableId: pulumi.Any(oci_core_drg_route_table.Test_drg_route_table.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.DrgAttachmentManagement;
import com.pulumi.oci.Core.DrgAttachmentManagementArgs;
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 testDrgRpcAttachment = new DrgAttachmentManagement("testDrgRpcAttachment", DrgAttachmentManagementArgs.builder()        
            .attachmentType("REMOTE_PEERING_CONNECTION")
            .compartmentId(var_.compartment_ocid())
            .networkId(oci_core_remote_peering_connection.test_rpc().id())
            .drgId(oci_core_drg.test_drg().id())
            .displayName("MyTestDrgAttachmentForRpc")
            .drgRouteTableId(oci_core_drg_route_table.test_drg_route_table().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_drg_rpc_attachment = oci.core.DrgAttachmentManagement("testDrgRpcAttachment",
    attachment_type="REMOTE_PEERING_CONNECTION",
    compartment_id=var["compartment_ocid"],
    network_id=oci_core_remote_peering_connection["test_rpc"]["id"],
    drg_id=oci_core_drg["test_drg"]["id"],
    display_name="MyTestDrgAttachmentForRpc",
    drg_route_table_id=oci_core_drg_route_table["test_drg_route_table"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDrgRpcAttachment = new oci.core.DrgAttachmentManagement("testDrgRpcAttachment", {
    attachmentType: "REMOTE_PEERING_CONNECTION",
    compartmentId: _var.compartment_ocid,
    networkId: oci_core_remote_peering_connection.test_rpc.id,
    drgId: oci_core_drg.test_drg.id,
    displayName: "MyTestDrgAttachmentForRpc",
    drgRouteTableId: oci_core_drg_route_table.test_drg_route_table.id,
});
resources:
  testDrgRpcAttachment:
    type: oci:Core:DrgAttachmentManagement
    properties:
      #Required
      attachmentType: REMOTE_PEERING_CONNECTION
      compartmentId: ${var.compartment_ocid}
      networkId: ${oci_core_remote_peering_connection.test_rpc.id}
      drgId: ${oci_core_drg.test_drg.id}
      #Optional
      displayName: MyTestDrgAttachmentForRpc
      drgRouteTableId: ${oci_core_drg_route_table.test_drg_route_table.id}

Create DrgAttachmentManagement Resource

new DrgAttachmentManagement(name: string, args: DrgAttachmentManagementArgs, opts?: CustomResourceOptions);
@overload
def DrgAttachmentManagement(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            attachment_type: Optional[str] = None,
                            compartment_id: Optional[str] = None,
                            defined_tags: Optional[Mapping[str, Any]] = None,
                            display_name: Optional[str] = None,
                            drg_id: Optional[str] = None,
                            drg_route_table_id: Optional[str] = None,
                            export_drg_route_distribution_id: Optional[str] = None,
                            freeform_tags: Optional[Mapping[str, Any]] = None,
                            network_details: Optional[_core.DrgAttachmentManagementNetworkDetailsArgs] = None,
                            network_id: Optional[str] = None,
                            remove_export_drg_route_distribution_trigger: Optional[bool] = None,
                            route_table_id: Optional[str] = None,
                            vcn_id: Optional[str] = None)
@overload
def DrgAttachmentManagement(resource_name: str,
                            args: DrgAttachmentManagementArgs,
                            opts: Optional[ResourceOptions] = None)
func NewDrgAttachmentManagement(ctx *Context, name string, args DrgAttachmentManagementArgs, opts ...ResourceOption) (*DrgAttachmentManagement, error)
public DrgAttachmentManagement(string name, DrgAttachmentManagementArgs args, CustomResourceOptions? opts = null)
public DrgAttachmentManagement(String name, DrgAttachmentManagementArgs args)
public DrgAttachmentManagement(String name, DrgAttachmentManagementArgs args, CustomResourceOptions options)
type: oci:Core:DrgAttachmentManagement
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DrgAttachmentManagementArgs
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 DrgAttachmentManagementArgs
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 DrgAttachmentManagementArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DrgAttachmentManagementArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DrgAttachmentManagementArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DrgAttachmentManagement Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DrgAttachmentManagement resource accepts the following input properties:

AttachmentType string

The type for the network resource attached to the DRG.

CompartmentId string

The OCID of the compartment.

DrgId string

The OCID of the DRG.

DefinedTags Dictionary<string, object>

(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.

DrgRouteTableId string

(Updatable) The OCID of the DRG route table assigned to the DRG attachment.

ExportDrgRouteDistributionId string

The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment. If this value is null, no routes are advertised through this attachment.

FreeformTags Dictionary<string, object>

(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"}

NetworkDetails DrgAttachmentManagementNetworkDetailsArgs

(Updatable)

NetworkId string

The OCID of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG.

RemoveExportDrgRouteDistributionTrigger bool

(Updatable) An optional property when set to true during update disables the export of route Distribution by setting export_drg_route_distribution_id to null.

RouteTableId string

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

VcnId string

The OCID of the VCN.

AttachmentType string

The type for the network resource attached to the DRG.

CompartmentId string

The OCID of the compartment.

DrgId string

The OCID of the DRG.

DefinedTags map[string]interface{}

(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.

DrgRouteTableId string

(Updatable) The OCID of the DRG route table assigned to the DRG attachment.

ExportDrgRouteDistributionId string

The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment. If this value is null, no routes are advertised through this attachment.

FreeformTags map[string]interface{}

(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"}

NetworkDetails DrgAttachmentManagementNetworkDetailsArgs

(Updatable)

NetworkId string

The OCID of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG.

RemoveExportDrgRouteDistributionTrigger bool

(Updatable) An optional property when set to true during update disables the export of route Distribution by setting export_drg_route_distribution_id to null.

RouteTableId string

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

VcnId string

The OCID of the VCN.

attachmentType String

The type for the network resource attached to the DRG.

compartmentId String

The OCID of the compartment.

drgId String

The OCID of the DRG.

definedTags Map<String,Object>

(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.

drgRouteTableId String

(Updatable) The OCID of the DRG route table assigned to the DRG attachment.

exportDrgRouteDistributionId String

The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment. If this value is null, no routes are advertised through this attachment.

freeformTags Map<String,Object>

(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"}

networkDetails DrgAttachmentManagementNetworkDetailsArgs

(Updatable)

networkId String

The OCID of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG.

removeExportDrgRouteDistributionTrigger Boolean

(Updatable) An optional property when set to true during update disables the export of route Distribution by setting export_drg_route_distribution_id to null.

routeTableId String

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

vcnId String

The OCID of the VCN.

attachmentType string

The type for the network resource attached to the DRG.

compartmentId string

The OCID of the compartment.

drgId string

The OCID of the DRG.

definedTags {[key: string]: any}

(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.

drgRouteTableId string

(Updatable) The OCID of the DRG route table assigned to the DRG attachment.

exportDrgRouteDistributionId string

The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment. If this value is null, no routes are advertised through this attachment.

freeformTags {[key: string]: any}

(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"}

networkDetails DrgAttachmentManagementNetworkDetailsArgs

(Updatable)

networkId string

The OCID of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG.

removeExportDrgRouteDistributionTrigger boolean

(Updatable) An optional property when set to true during update disables the export of route Distribution by setting export_drg_route_distribution_id to null.

routeTableId string

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

vcnId string

The OCID of the VCN.

attachment_type str

The type for the network resource attached to the DRG.

compartment_id str

The OCID of the compartment.

drg_id str

The OCID of the DRG.

defined_tags Mapping[str, Any]

(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_route_table_id str

(Updatable) The OCID of the DRG route table assigned to the DRG attachment.

export_drg_route_distribution_id str

The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment. If this value is null, no routes are advertised through this attachment.

freeform_tags Mapping[str, Any]

(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"}

network_details DrgAttachmentManagementNetworkDetailsArgs

(Updatable)

network_id str

The OCID of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG.

remove_export_drg_route_distribution_trigger bool

(Updatable) An optional property when set to true during update disables the export of route Distribution by setting export_drg_route_distribution_id to null.

route_table_id str

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

vcn_id str

The OCID of the VCN.

attachmentType String

The type for the network resource attached to the DRG.

compartmentId String

The OCID of the compartment.

drgId String

The OCID of the DRG.

definedTags Map<Any>

(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.

drgRouteTableId String

(Updatable) The OCID of the DRG route table assigned to the DRG attachment.

exportDrgRouteDistributionId String

The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment. If this value is null, no routes are advertised through this attachment.

freeformTags Map<Any>

(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"}

networkDetails Property Map

(Updatable)

networkId String

The OCID of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG.

removeExportDrgRouteDistributionTrigger Boolean

(Updatable) An optional property when set to true during update disables the export of route Distribution by setting export_drg_route_distribution_id to null.

routeTableId String

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

vcnId String

The OCID of the VCN.

Outputs

All input properties are implicitly available as output properties. Additionally, the DrgAttachmentManagement resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

IsCrossTenancy bool

Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false

State string

A filter to return only resources that match the specified lifecycle state. The value is case insensitive.

TimeCreated string

The date and time the DRG attachment 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.

IsCrossTenancy bool

Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false

State string

A filter to return only resources that match the specified lifecycle state. The value is case insensitive.

TimeCreated string

The date and time the DRG attachment 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.

isCrossTenancy Boolean

Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false

state String

A filter to return only resources that match the specified lifecycle state. The value is case insensitive.

timeCreated String

The date and time the DRG attachment 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.

isCrossTenancy boolean

Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false

state string

A filter to return only resources that match the specified lifecycle state. The value is case insensitive.

timeCreated string

The date and time the DRG attachment 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.

is_cross_tenancy bool

Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false

state str

A filter to return only resources that match the specified lifecycle state. The value is case insensitive.

time_created str

The date and time the DRG attachment 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.

isCrossTenancy Boolean

Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false

state String

A filter to return only resources that match the specified lifecycle state. The value is case insensitive.

timeCreated String

The date and time the DRG attachment was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

Look up Existing DrgAttachmentManagement Resource

Get an existing DrgAttachmentManagement 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?: DrgAttachmentManagementState, opts?: CustomResourceOptions): DrgAttachmentManagement
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        attachment_type: Optional[str] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        display_name: Optional[str] = None,
        drg_id: Optional[str] = None,
        drg_route_table_id: Optional[str] = None,
        export_drg_route_distribution_id: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        is_cross_tenancy: Optional[bool] = None,
        network_details: Optional[_core.DrgAttachmentManagementNetworkDetailsArgs] = None,
        network_id: Optional[str] = None,
        remove_export_drg_route_distribution_trigger: Optional[bool] = None,
        route_table_id: Optional[str] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None,
        vcn_id: Optional[str] = None) -> DrgAttachmentManagement
func GetDrgAttachmentManagement(ctx *Context, name string, id IDInput, state *DrgAttachmentManagementState, opts ...ResourceOption) (*DrgAttachmentManagement, error)
public static DrgAttachmentManagement Get(string name, Input<string> id, DrgAttachmentManagementState? state, CustomResourceOptions? opts = null)
public static DrgAttachmentManagement get(String name, Output<String> id, DrgAttachmentManagementState 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:
AttachmentType string

The type for the network resource attached to the DRG.

CompartmentId string

The OCID of the compartment.

DefinedTags Dictionary<string, object>

(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.

DrgRouteTableId string

(Updatable) The OCID of the DRG route table assigned to the DRG attachment.

ExportDrgRouteDistributionId string

The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment. If this value is null, no routes are advertised through this attachment.

FreeformTags Dictionary<string, object>

(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"}

IsCrossTenancy bool

Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false

NetworkDetails DrgAttachmentManagementNetworkDetailsArgs

(Updatable)

NetworkId string

The OCID of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG.

RemoveExportDrgRouteDistributionTrigger bool

(Updatable) An optional property when set to true during update disables the export of route Distribution by setting export_drg_route_distribution_id to null.

RouteTableId string

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

State string

A filter to return only resources that match the specified lifecycle state. The value is case insensitive.

TimeCreated string

The date and time the DRG attachment was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

VcnId string

The OCID of the VCN.

AttachmentType string

The type for the network resource attached to the DRG.

CompartmentId string

The OCID of the compartment.

DefinedTags map[string]interface{}

(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.

DrgRouteTableId string

(Updatable) The OCID of the DRG route table assigned to the DRG attachment.

ExportDrgRouteDistributionId string

The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment. If this value is null, no routes are advertised through this attachment.

FreeformTags map[string]interface{}

(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"}

IsCrossTenancy bool

Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false

NetworkDetails DrgAttachmentManagementNetworkDetailsArgs

(Updatable)

NetworkId string

The OCID of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG.

RemoveExportDrgRouteDistributionTrigger bool

(Updatable) An optional property when set to true during update disables the export of route Distribution by setting export_drg_route_distribution_id to null.

RouteTableId string

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

State string

A filter to return only resources that match the specified lifecycle state. The value is case insensitive.

TimeCreated string

The date and time the DRG attachment was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

VcnId string

The OCID of the VCN.

attachmentType String

The type for the network resource attached to the DRG.

compartmentId String

The OCID of the compartment.

definedTags Map<String,Object>

(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.

drgRouteTableId String

(Updatable) The OCID of the DRG route table assigned to the DRG attachment.

exportDrgRouteDistributionId String

The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment. If this value is null, no routes are advertised through this attachment.

freeformTags Map<String,Object>

(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"}

isCrossTenancy Boolean

Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false

networkDetails DrgAttachmentManagementNetworkDetailsArgs

(Updatable)

networkId String

The OCID of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG.

removeExportDrgRouteDistributionTrigger Boolean

(Updatable) An optional property when set to true during update disables the export of route Distribution by setting export_drg_route_distribution_id to null.

routeTableId String

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

state String

A filter to return only resources that match the specified lifecycle state. The value is case insensitive.

timeCreated String

The date and time the DRG attachment was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

vcnId String

The OCID of the VCN.

attachmentType string

The type for the network resource attached to the DRG.

compartmentId string

The OCID of the compartment.

definedTags {[key: string]: any}

(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.

drgRouteTableId string

(Updatable) The OCID of the DRG route table assigned to the DRG attachment.

exportDrgRouteDistributionId string

The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment. If this value is null, no routes are advertised through this attachment.

freeformTags {[key: string]: any}

(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"}

isCrossTenancy boolean

Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false

networkDetails DrgAttachmentManagementNetworkDetailsArgs

(Updatable)

networkId string

The OCID of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG.

removeExportDrgRouteDistributionTrigger boolean

(Updatable) An optional property when set to true during update disables the export of route Distribution by setting export_drg_route_distribution_id to null.

routeTableId string

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

state string

A filter to return only resources that match the specified lifecycle state. The value is case insensitive.

timeCreated string

The date and time the DRG attachment was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

vcnId string

The OCID of the VCN.

attachment_type str

The type for the network resource attached to the DRG.

compartment_id str

The OCID of the compartment.

defined_tags Mapping[str, Any]

(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.

drg_route_table_id str

(Updatable) The OCID of the DRG route table assigned to the DRG attachment.

export_drg_route_distribution_id str

The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment. If this value is null, no routes are advertised through this attachment.

freeform_tags Mapping[str, Any]

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

is_cross_tenancy bool

Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false

network_details DrgAttachmentManagementNetworkDetailsArgs

(Updatable)

network_id str

The OCID of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG.

remove_export_drg_route_distribution_trigger bool

(Updatable) An optional property when set to true during update disables the export of route Distribution by setting export_drg_route_distribution_id to null.

route_table_id str

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

state str

A filter to return only resources that match the specified lifecycle state. The value is case insensitive.

time_created str

The date and time the DRG attachment was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

vcn_id str

The OCID of the VCN.

attachmentType String

The type for the network resource attached to the DRG.

compartmentId String

The OCID of the compartment.

definedTags Map<Any>

(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.

drgRouteTableId String

(Updatable) The OCID of the DRG route table assigned to the DRG attachment.

exportDrgRouteDistributionId String

The OCID of the export route distribution used to specify how routes in the assigned DRG route table are advertised to the attachment. If this value is null, no routes are advertised through this attachment.

freeformTags Map<Any>

(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"}

isCrossTenancy Boolean

Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false

networkDetails Property Map

(Updatable)

networkId String

The OCID of the resource (virtual circuit, VCN, IPSec tunnel, or remote peering connection) attached to the DRG.

removeExportDrgRouteDistributionTrigger Boolean

(Updatable) An optional property when set to true during update disables the export of route Distribution by setting export_drg_route_distribution_id to null.

routeTableId String

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

state String

A filter to return only resources that match the specified lifecycle state. The value is case insensitive.

timeCreated String

The date and time the DRG attachment was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z

vcnId String

The OCID of the VCN.

Supporting Types

DrgAttachmentManagementNetworkDetails

Id string

The OCID of the network attached to the DRG.

Type string

The type can be one of these values: IPSEC_TUNNEL, REMOTE_PEERING_CONNECTION, VCN,VIRTUAL_CIRCUIT

IpsecConnectionId string

The IPSec connection that contains the attached IPSec tunnel.

RouteTableId string

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

Id string

The OCID of the network attached to the DRG.

Type string

The type can be one of these values: IPSEC_TUNNEL, REMOTE_PEERING_CONNECTION, VCN,VIRTUAL_CIRCUIT

IpsecConnectionId string

The IPSec connection that contains the attached IPSec tunnel.

RouteTableId string

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

id String

The OCID of the network attached to the DRG.

type String

The type can be one of these values: IPSEC_TUNNEL, REMOTE_PEERING_CONNECTION, VCN,VIRTUAL_CIRCUIT

ipsecConnectionId String

The IPSec connection that contains the attached IPSec tunnel.

routeTableId String

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

id string

The OCID of the network attached to the DRG.

type string

The type can be one of these values: IPSEC_TUNNEL, REMOTE_PEERING_CONNECTION, VCN,VIRTUAL_CIRCUIT

ipsecConnectionId string

The IPSec connection that contains the attached IPSec tunnel.

routeTableId string

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

id str

The OCID of the network attached to the DRG.

type str

The type can be one of these values: IPSEC_TUNNEL, REMOTE_PEERING_CONNECTION, VCN,VIRTUAL_CIRCUIT

ipsec_connection_id str

The IPSec connection that contains the attached IPSec tunnel.

route_table_id str

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

id String

The OCID of the network attached to the DRG.

type String

The type can be one of these values: IPSEC_TUNNEL, REMOTE_PEERING_CONNECTION, VCN,VIRTUAL_CIRCUIT

ipsecConnectionId String

The IPSec connection that contains the attached IPSec tunnel.

routeTableId String

The OCID of the route table the DRG attachment is using.

For information about why you would associate a route table with a DRG attachment, see:

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.