Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

getDrgAttachments

This data source provides the list of Drg Attachments in Oracle Cloud Infrastructure Core service.

Lists the DrgAttachment resource for the specified compartment. You can filter the results by DRG, attached network, attachment type, DRG route table or VCN route table.

The LIST API lists DRG attachments by attachment type. It will default to list VCN attachments, but you may request to list ALL attachments of ALL types.

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var testDrgAttachments = Oci.Core.GetDrgAttachments.Invoke(new()
    {
        CompartmentId = @var.Compartment_id,
        AttachmentType = @var.Drg_attachment_attachment_type,
        DisplayName = @var.Drg_attachment_display_name,
        DrgId = oci_core_drg.Test_drg.Id,
        DrgRouteTableId = oci_core_drg_route_table.Test_drg_route_table.Id,
        NetworkId = oci_core_network.Test_network.Id,
        State = @var.Drg_attachment_state,
        VcnId = oci_core_vcn.Test_vcn.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.GetDrgAttachments(ctx, &core.GetDrgAttachmentsArgs{
			CompartmentId:   _var.Compartment_id,
			AttachmentType:  pulumi.StringRef(_var.Drg_attachment_attachment_type),
			DisplayName:     pulumi.StringRef(_var.Drg_attachment_display_name),
			DrgId:           pulumi.StringRef(oci_core_drg.Test_drg.Id),
			DrgRouteTableId: pulumi.StringRef(oci_core_drg_route_table.Test_drg_route_table.Id),
			NetworkId:       pulumi.StringRef(oci_core_network.Test_network.Id),
			State:           pulumi.StringRef(_var.Drg_attachment_state),
			VcnId:           pulumi.StringRef(oci_core_vcn.Test_vcn.Id),
		}, nil)
		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.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetDrgAttachmentsArgs;
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) {
        final var testDrgAttachments = CoreFunctions.getDrgAttachments(GetDrgAttachmentsArgs.builder()
            .compartmentId(var_.compartment_id())
            .attachmentType(var_.drg_attachment_attachment_type())
            .displayName(var_.drg_attachment_display_name())
            .drgId(oci_core_drg.test_drg().id())
            .drgRouteTableId(oci_core_drg_route_table.test_drg_route_table().id())
            .networkId(oci_core_network.test_network().id())
            .state(var_.drg_attachment_state())
            .vcnId(oci_core_vcn.test_vcn().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_drg_attachments = oci.Core.get_drg_attachments(compartment_id=var["compartment_id"],
    attachment_type=var["drg_attachment_attachment_type"],
    display_name=var["drg_attachment_display_name"],
    drg_id=oci_core_drg["test_drg"]["id"],
    drg_route_table_id=oci_core_drg_route_table["test_drg_route_table"]["id"],
    network_id=oci_core_network["test_network"]["id"],
    state=var["drg_attachment_state"],
    vcn_id=oci_core_vcn["test_vcn"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDrgAttachments = oci.Core.getDrgAttachments({
    compartmentId: _var.compartment_id,
    attachmentType: _var.drg_attachment_attachment_type,
    displayName: _var.drg_attachment_display_name,
    drgId: oci_core_drg.test_drg.id,
    drgRouteTableId: oci_core_drg_route_table.test_drg_route_table.id,
    networkId: oci_core_network.test_network.id,
    state: _var.drg_attachment_state,
    vcnId: oci_core_vcn.test_vcn.id,
});
variables:
  testDrgAttachments:
    Fn::Invoke:
      Function: oci:Core:getDrgAttachments
      Arguments:
        compartmentId: ${var.compartment_id}
        attachmentType: ${var.drg_attachment_attachment_type}
        displayName: ${var.drg_attachment_display_name}
        drgId: ${oci_core_drg.test_drg.id}
        drgRouteTableId: ${oci_core_drg_route_table.test_drg_route_table.id}
        networkId: ${oci_core_network.test_network.id}
        state: ${var.drg_attachment_state}
        vcnId: ${oci_core_vcn.test_vcn.id}

Using getDrgAttachments

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDrgAttachments(args: GetDrgAttachmentsArgs, opts?: InvokeOptions): Promise<GetDrgAttachmentsResult>
function getDrgAttachmentsOutput(args: GetDrgAttachmentsOutputArgs, opts?: InvokeOptions): Output<GetDrgAttachmentsResult>
def get_drg_attachments(attachment_type: Optional[str] = None,
                        compartment_id: Optional[str] = None,
                        display_name: Optional[str] = None,
                        drg_id: Optional[str] = None,
                        drg_route_table_id: Optional[str] = None,
                        filters: Optional[Sequence[_core.GetDrgAttachmentsFilter]] = None,
                        network_id: Optional[str] = None,
                        state: Optional[str] = None,
                        vcn_id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetDrgAttachmentsResult
def get_drg_attachments_output(attachment_type: Optional[pulumi.Input[str]] = None,
                        compartment_id: Optional[pulumi.Input[str]] = None,
                        display_name: Optional[pulumi.Input[str]] = None,
                        drg_id: Optional[pulumi.Input[str]] = None,
                        drg_route_table_id: Optional[pulumi.Input[str]] = None,
                        filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetDrgAttachmentsFilterArgs]]]] = None,
                        network_id: Optional[pulumi.Input[str]] = None,
                        state: Optional[pulumi.Input[str]] = None,
                        vcn_id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetDrgAttachmentsResult]
func GetDrgAttachments(ctx *Context, args *GetDrgAttachmentsArgs, opts ...InvokeOption) (*GetDrgAttachmentsResult, error)
func GetDrgAttachmentsOutput(ctx *Context, args *GetDrgAttachmentsOutputArgs, opts ...InvokeOption) GetDrgAttachmentsResultOutput

> Note: This function is named GetDrgAttachments in the Go SDK.

public static class GetDrgAttachments 
{
    public static Task<GetDrgAttachmentsResult> InvokeAsync(GetDrgAttachmentsArgs args, InvokeOptions? opts = null)
    public static Output<GetDrgAttachmentsResult> Invoke(GetDrgAttachmentsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDrgAttachmentsResult> getDrgAttachments(GetDrgAttachmentsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:Core/getDrgAttachments:getDrgAttachments
  arguments:
    # arguments dictionary

The following arguments are supported:

CompartmentId string

The OCID of the compartment.

AttachmentType string

The type for the network resource attached to the DRG.

DisplayName string

A filter to return only resources that match the given display name exactly.

DrgId string

The OCID of the DRG.

DrgRouteTableId string

The OCID of the DRG route table assigned to the DRG attachment.

Filters List<GetDrgAttachmentsFilter>
NetworkId string

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

State string

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

VcnId string

The OCID of the VCN.

CompartmentId string

The OCID of the compartment.

AttachmentType string

The type for the network resource attached to the DRG.

DisplayName string

A filter to return only resources that match the given display name exactly.

DrgId string

The OCID of the DRG.

DrgRouteTableId string

The OCID of the DRG route table assigned to the DRG attachment.

Filters []GetDrgAttachmentsFilter
NetworkId string

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

State string

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

VcnId string

The OCID of the VCN.

compartmentId String

The OCID of the compartment.

attachmentType String

The type for the network resource attached to the DRG.

displayName String

A filter to return only resources that match the given display name exactly.

drgId String

The OCID of the DRG.

drgRouteTableId String

The OCID of the DRG route table assigned to the DRG attachment.

filters List<GetDrgAttachmentsFilter>
networkId String

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

state String

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

vcnId String

The OCID of the VCN.

compartmentId string

The OCID of the compartment.

attachmentType string

The type for the network resource attached to the DRG.

displayName string

A filter to return only resources that match the given display name exactly.

drgId string

The OCID of the DRG.

drgRouteTableId string

The OCID of the DRG route table assigned to the DRG attachment.

filters GetDrgAttachmentsFilter[]
networkId string

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

state string

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

vcnId string

The OCID of the VCN.

compartment_id str

The OCID of the compartment.

attachment_type str

The type for the network resource attached to the DRG.

display_name str

A filter to return only resources that match the given display name exactly.

drg_id str

The OCID of the DRG.

drg_route_table_id str

The OCID of the DRG route table assigned to the DRG attachment.

filters GetDrgAttachmentsFilter]
network_id str

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

state str

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

vcn_id str

The OCID of the VCN.

compartmentId String

The OCID of the compartment.

attachmentType String

The type for the network resource attached to the DRG.

displayName String

A filter to return only resources that match the given display name exactly.

drgId String

The OCID of the DRG.

drgRouteTableId String

The OCID of the DRG route table assigned to the DRG attachment.

filters List<Property Map>
networkId String

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

state String

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

vcnId String

The OCID of the VCN.

getDrgAttachments Result

The following output properties are available:

CompartmentId string

The OCID of the compartment containing the DRG attachment.

DrgAttachments List<GetDrgAttachmentsDrgAttachment>

The list of drg_attachments.

Id string

The provider-assigned unique ID for this managed resource.

AttachmentType string
DisplayName string

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

The OCID of the DRG route table that is assigned to this attachment.

Filters List<GetDrgAttachmentsFilter>
NetworkId string
State string

The DRG attachment's current state.

VcnId string

The OCID of the VCN. This field is deprecated. Instead, use the networkDetails field to view the OCID of the attached resource.

CompartmentId string

The OCID of the compartment containing the DRG attachment.

DrgAttachments []GetDrgAttachmentsDrgAttachment

The list of drg_attachments.

Id string

The provider-assigned unique ID for this managed resource.

AttachmentType string
DisplayName string

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

The OCID of the DRG route table that is assigned to this attachment.

Filters []GetDrgAttachmentsFilter
NetworkId string
State string

The DRG attachment's current state.

VcnId string

The OCID of the VCN. This field is deprecated. Instead, use the networkDetails field to view the OCID of the attached resource.

compartmentId String

The OCID of the compartment containing the DRG attachment.

drgAttachments List<GetDrgAttachmentsDrgAttachment>

The list of drg_attachments.

id String

The provider-assigned unique ID for this managed resource.

attachmentType String
displayName String

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

The OCID of the DRG route table that is assigned to this attachment.

filters List<GetDrgAttachmentsFilter>
networkId String
state String

The DRG attachment's current state.

vcnId String

The OCID of the VCN. This field is deprecated. Instead, use the networkDetails field to view the OCID of the attached resource.

compartmentId string

The OCID of the compartment containing the DRG attachment.

drgAttachments GetDrgAttachmentsDrgAttachment[]

The list of drg_attachments.

id string

The provider-assigned unique ID for this managed resource.

attachmentType string
displayName string

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

The OCID of the DRG route table that is assigned to this attachment.

filters GetDrgAttachmentsFilter[]
networkId string
state string

The DRG attachment's current state.

vcnId string

The OCID of the VCN. This field is deprecated. Instead, use the networkDetails field to view the OCID of the attached resource.

compartment_id str

The OCID of the compartment containing the DRG attachment.

drg_attachments GetDrgAttachmentsDrgAttachment]

The list of drg_attachments.

id str

The provider-assigned unique ID for this managed resource.

attachment_type str
display_name str

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

The OCID of the DRG route table that is assigned to this attachment.

filters GetDrgAttachmentsFilter]
network_id str
state str

The DRG attachment's current state.

vcn_id str

The OCID of the VCN. This field is deprecated. Instead, use the networkDetails field to view the OCID of the attached resource.

compartmentId String

The OCID of the compartment containing the DRG attachment.

drgAttachments List<Property Map>

The list of drg_attachments.

id String

The provider-assigned unique ID for this managed resource.

attachmentType String
displayName String

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

The OCID of the DRG route table that is assigned to this attachment.

filters List<Property Map>
networkId String
state String

The DRG attachment's current state.

vcnId String

The OCID of the VCN. This field is deprecated. Instead, use the networkDetails field to view the OCID of the attached resource.

Supporting Types

GetDrgAttachmentsDrgAttachment

CompartmentId string

The OCID of the compartment.

DefinedTags Dictionary<string, object>

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

A filter to return only resources that match the given display name exactly.

DrgId string

The OCID of the DRG.

DrgRouteTableId string

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>

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

Id string

The OCID of the network attached to the DRG.

IsCrossTenancy bool

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

NetworkDetails List<GetDrgAttachmentsDrgAttachmentNetworkDetail>
RemoveExportDrgRouteDistributionTrigger bool
RouteTableId string

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

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.

CompartmentId string

The OCID of the compartment.

DefinedTags map[string]interface{}

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

A filter to return only resources that match the given display name exactly.

DrgId string

The OCID of the DRG.

DrgRouteTableId string

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{}

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

Id string

The OCID of the network attached to the DRG.

IsCrossTenancy bool

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

NetworkDetails []GetDrgAttachmentsDrgAttachmentNetworkDetail
RemoveExportDrgRouteDistributionTrigger bool
RouteTableId string

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

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.

compartmentId String

The OCID of the compartment.

definedTags Map<String,Object>

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

A filter to return only resources that match the given display name exactly.

drgId String

The OCID of the DRG.

drgRouteTableId String

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>

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

id String

The OCID of the network attached to the DRG.

isCrossTenancy Boolean

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

networkDetails List<GetDrgAttachmentsDrgAttachmentNetworkDetail>
removeExportDrgRouteDistributionTrigger Boolean
routeTableId String

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

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.

compartmentId string

The OCID of the compartment.

definedTags {[key: string]: any}

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

A filter to return only resources that match the given display name exactly.

drgId string

The OCID of the DRG.

drgRouteTableId string

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}

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

id string

The OCID of the network attached to the DRG.

isCrossTenancy boolean

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

networkDetails GetDrgAttachmentsDrgAttachmentNetworkDetail[]
removeExportDrgRouteDistributionTrigger boolean
routeTableId string

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

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.

compartment_id str

The OCID of the compartment.

defined_tags Mapping[str, Any]

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

A filter to return only resources that match the given display name exactly.

drg_id str

The OCID of the DRG.

drg_route_table_id str

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]

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

id str

The OCID of the network attached to the DRG.

is_cross_tenancy bool

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

network_details GetDrgAttachmentsDrgAttachmentNetworkDetail]
remove_export_drg_route_distribution_trigger bool
route_table_id str

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

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.

compartmentId String

The OCID of the compartment.

definedTags Map<Any>

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

A filter to return only resources that match the given display name exactly.

drgId String

The OCID of the DRG.

drgRouteTableId String

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>

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

id String

The OCID of the network attached to the DRG.

isCrossTenancy Boolean

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

networkDetails List<Property Map>
removeExportDrgRouteDistributionTrigger Boolean
routeTableId String

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

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.

GetDrgAttachmentsDrgAttachmentNetworkDetail

Id string

The OCID of the network attached to the DRG.

IpsecConnectionId string

The IPSec connection that contains the attached IPSec tunnel.

RouteTableId string

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

Type string

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

VcnRouteType string

Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. Routes from the VCN ingress route table are always imported.

Id string

The OCID of the network attached to the DRG.

IpsecConnectionId string

The IPSec connection that contains the attached IPSec tunnel.

RouteTableId string

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

Type string

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

VcnRouteType string

Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. Routes from the VCN ingress route table are always imported.

id String

The OCID of the network attached to the DRG.

ipsecConnectionId String

The IPSec connection that contains the attached IPSec tunnel.

routeTableId String

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

type String

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

vcnRouteType String

Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. Routes from the VCN ingress route table are always imported.

id string

The OCID of the network attached to the DRG.

ipsecConnectionId string

The IPSec connection that contains the attached IPSec tunnel.

routeTableId string

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

type string

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

vcnRouteType string

Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. Routes from the VCN ingress route table are always imported.

id str

The OCID of the network attached to the DRG.

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.

type str

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

vcn_route_type str

Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. Routes from the VCN ingress route table are always imported.

id String

The OCID of the network attached to the DRG.

ipsecConnectionId String

The IPSec connection that contains the attached IPSec tunnel.

routeTableId String

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

type String

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

vcnRouteType String

Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. Routes from the VCN ingress route table are always imported.

GetDrgAttachmentsFilter

Name string
Values List<string>
Regex bool
Name string
Values []string
Regex bool
name String
values List<String>
regex Boolean
name string
values string[]
regex boolean
name str
values Sequence[str]
regex bool
name String
values List<String>
regex Boolean

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.