1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Core
  5. getDrgAttachments
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.Core.getDrgAttachments

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

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

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDrgAttachments = oci.Core.getDrgAttachments({
    compartmentId: compartmentId,
    attachmentType: drgAttachmentAttachmentType,
    displayName: drgAttachmentDisplayName,
    drgId: testDrg.id,
    drgRouteTableId: testDrgRouteTable.id,
    networkId: testNetwork.id,
    state: drgAttachmentState,
    vcnId: testVcn.id,
});
Copy
import pulumi
import pulumi_oci as oci

test_drg_attachments = oci.Core.get_drg_attachments(compartment_id=compartment_id,
    attachment_type=drg_attachment_attachment_type,
    display_name=drg_attachment_display_name,
    drg_id=test_drg["id"],
    drg_route_table_id=test_drg_route_table["id"],
    network_id=test_network["id"],
    state=drg_attachment_state,
    vcn_id=test_vcn["id"])
Copy
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.GetDrgAttachments(ctx, &core.GetDrgAttachmentsArgs{
			CompartmentId:   compartmentId,
			AttachmentType:  pulumi.StringRef(drgAttachmentAttachmentType),
			DisplayName:     pulumi.StringRef(drgAttachmentDisplayName),
			DrgId:           pulumi.StringRef(testDrg.Id),
			DrgRouteTableId: pulumi.StringRef(testDrgRouteTable.Id),
			NetworkId:       pulumi.StringRef(testNetwork.Id),
			State:           pulumi.StringRef(drgAttachmentState),
			VcnId:           pulumi.StringRef(testVcn.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testDrgAttachments = Oci.Core.GetDrgAttachments.Invoke(new()
    {
        CompartmentId = compartmentId,
        AttachmentType = drgAttachmentAttachmentType,
        DisplayName = drgAttachmentDisplayName,
        DrgId = testDrg.Id,
        DrgRouteTableId = testDrgRouteTable.Id,
        NetworkId = testNetwork.Id,
        State = drgAttachmentState,
        VcnId = testVcn.Id,
    });

});
Copy
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(compartmentId)
            .attachmentType(drgAttachmentAttachmentType)
            .displayName(drgAttachmentDisplayName)
            .drgId(testDrg.id())
            .drgRouteTableId(testDrgRouteTable.id())
            .networkId(testNetwork.id())
            .state(drgAttachmentState)
            .vcnId(testVcn.id())
            .build());

    }
}
Copy
variables:
  testDrgAttachments:
    fn::invoke:
      function: oci:Core:getDrgAttachments
      arguments:
        compartmentId: ${compartmentId}
        attachmentType: ${drgAttachmentAttachmentType}
        displayName: ${drgAttachmentDisplayName}
        drgId: ${testDrg.id}
        drgRouteTableId: ${testDrgRouteTable.id}
        networkId: ${testNetwork.id}
        state: ${drgAttachmentState}
        vcnId: ${testVcn.id}
Copy

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>
Copy
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]
Copy
func GetDrgAttachments(ctx *Context, args *GetDrgAttachmentsArgs, opts ...InvokeOption) (*GetDrgAttachmentsResult, error)
func GetDrgAttachmentsOutput(ctx *Context, args *GetDrgAttachmentsOutputArgs, opts ...InvokeOption) GetDrgAttachmentsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetDrgAttachmentsResult> getDrgAttachments(GetDrgAttachmentsArgs args, InvokeOptions options)
public static Output<GetDrgAttachmentsResult> getDrgAttachments(GetDrgAttachmentsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:Core/getDrgAttachments:getDrgAttachments
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. 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 Changes to this property will trigger replacement. 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 This property is required. 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 Changes to this property will trigger replacement. []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 This property is required. 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 Changes to this property will trigger replacement. 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 This property is required. 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 Changes to this property will trigger replacement. 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 This property is required. 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 Changes to this property will trigger replacement. Sequence[core.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 This property is required. 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 Changes to this property will trigger replacement. 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 Sequence[core.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 Sequence[core.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 This property is required. string
The OCID of the compartment.
DefinedTags This property is required. Dictionary<string, string>
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 This property is required. string
A filter to return only resources that match the given display name exactly.
DrgId This property is required. string
The OCID of the DRG.
DrgRouteTableId This property is required. string
The OCID of the DRG route table assigned to the DRG attachment.
ExportDrgRouteDistributionId This property is required. 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 This property is required. Dictionary<string, string>
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 This property is required. string
The OCID of the network attached to the DRG.
IsCrossTenancy This property is required. bool
Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false
NetworkDetails This property is required. List<GetDrgAttachmentsDrgAttachmentNetworkDetail>
RemoveExportDrgRouteDistributionTrigger This property is required. bool
RouteTableId This property is required. string
The OCID of the route table the DRG attachment is using.
State This property is required. string
A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
TimeCreated This property is required. string
The date and time the DRG attachment was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
VcnId This property is required. string
The OCID of the VCN.
CompartmentId This property is required. string
The OCID of the compartment.
DefinedTags This property is required. map[string]string
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 This property is required. string
A filter to return only resources that match the given display name exactly.
DrgId This property is required. string
The OCID of the DRG.
DrgRouteTableId This property is required. string
The OCID of the DRG route table assigned to the DRG attachment.
ExportDrgRouteDistributionId This property is required. 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 This property is required. map[string]string
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 This property is required. string
The OCID of the network attached to the DRG.
IsCrossTenancy This property is required. bool
Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false
NetworkDetails This property is required. []GetDrgAttachmentsDrgAttachmentNetworkDetail
RemoveExportDrgRouteDistributionTrigger This property is required. bool
RouteTableId This property is required. string
The OCID of the route table the DRG attachment is using.
State This property is required. string
A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
TimeCreated This property is required. string
The date and time the DRG attachment was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
VcnId This property is required. string
The OCID of the VCN.
compartmentId This property is required. String
The OCID of the compartment.
definedTags This property is required. Map<String,String>
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 This property is required. String
A filter to return only resources that match the given display name exactly.
drgId This property is required. String
The OCID of the DRG.
drgRouteTableId This property is required. String
The OCID of the DRG route table assigned to the DRG attachment.
exportDrgRouteDistributionId This property is required. 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 This property is required. Map<String,String>
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 This property is required. String
The OCID of the network attached to the DRG.
isCrossTenancy This property is required. Boolean
Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false
networkDetails This property is required. List<GetDrgAttachmentsDrgAttachmentNetworkDetail>
removeExportDrgRouteDistributionTrigger This property is required. Boolean
routeTableId This property is required. String
The OCID of the route table the DRG attachment is using.
state This property is required. String
A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
timeCreated This property is required. String
The date and time the DRG attachment was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
vcnId This property is required. String
The OCID of the VCN.
compartmentId This property is required. string
The OCID of the compartment.
definedTags This property is required. {[key: string]: string}
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 This property is required. string
A filter to return only resources that match the given display name exactly.
drgId This property is required. string
The OCID of the DRG.
drgRouteTableId This property is required. string
The OCID of the DRG route table assigned to the DRG attachment.
exportDrgRouteDistributionId This property is required. 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 This property is required. {[key: string]: string}
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 This property is required. string
The OCID of the network attached to the DRG.
isCrossTenancy This property is required. boolean
Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false
networkDetails This property is required. GetDrgAttachmentsDrgAttachmentNetworkDetail[]
removeExportDrgRouteDistributionTrigger This property is required. boolean
routeTableId This property is required. string
The OCID of the route table the DRG attachment is using.
state This property is required. string
A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
timeCreated This property is required. string
The date and time the DRG attachment was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
vcnId This property is required. string
The OCID of the VCN.
compartment_id This property is required. str
The OCID of the compartment.
defined_tags This property is required. Mapping[str, str]
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 This property is required. str
A filter to return only resources that match the given display name exactly.
drg_id This property is required. str
The OCID of the DRG.
drg_route_table_id This property is required. str
The OCID of the DRG route table assigned to the DRG attachment.
export_drg_route_distribution_id This property is required. 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 This property is required. Mapping[str, str]
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 This property is required. str
The OCID of the network attached to the DRG.
is_cross_tenancy This property is required. bool
Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false
network_details This property is required. Sequence[core.GetDrgAttachmentsDrgAttachmentNetworkDetail]
remove_export_drg_route_distribution_trigger This property is required. bool
route_table_id This property is required. str
The OCID of the route table the DRG attachment is using.
state This property is required. str
A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
time_created This property is required. 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 This property is required. str
The OCID of the VCN.
compartmentId This property is required. String
The OCID of the compartment.
definedTags This property is required. Map<String>
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 This property is required. String
A filter to return only resources that match the given display name exactly.
drgId This property is required. String
The OCID of the DRG.
drgRouteTableId This property is required. String
The OCID of the DRG route table assigned to the DRG attachment.
exportDrgRouteDistributionId This property is required. 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 This property is required. Map<String>
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 This property is required. String
The OCID of the network attached to the DRG.
isCrossTenancy This property is required. Boolean
Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false
networkDetails This property is required. List<Property Map>
removeExportDrgRouteDistributionTrigger This property is required. Boolean
routeTableId This property is required. String
The OCID of the route table the DRG attachment is using.
state This property is required. String
A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
timeCreated This property is required. String
The date and time the DRG attachment was created, in the format defined by RFC3339. Example: 2016-08-25T21:10:29.600Z
vcnId This property is required. String
The OCID of the VCN.

GetDrgAttachmentsDrgAttachmentNetworkDetail

Id This property is required. string
The OCID of the network attached to the DRG.
Ids This property is required. List<string>
The OCID of the target IPSec tunnel attachment.
IpsecConnectionId This property is required. string
The IPSec connection that contains the attached IPSec tunnel.
RouteTableId This property is required. string
The OCID of the route table the DRG attachment is using.
TransportAttachmentId This property is required. string
The OCID of the virtual circuit's DRG attachment.
TransportOnlyMode This property is required. bool
Boolean flag that determines wether all traffic over the virtual circuits is encrypted. Example: true
Type This property is required. string
The type can be one of these values: IPSEC_TUNNEL, LOOPBACK, REMOTE_PEERING_CONNECTION, VCN, VIRTUAL_CIRCUIT
VcnRouteType This property is required. 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 This property is required. string
The OCID of the network attached to the DRG.
Ids This property is required. []string
The OCID of the target IPSec tunnel attachment.
IpsecConnectionId This property is required. string
The IPSec connection that contains the attached IPSec tunnel.
RouteTableId This property is required. string
The OCID of the route table the DRG attachment is using.
TransportAttachmentId This property is required. string
The OCID of the virtual circuit's DRG attachment.
TransportOnlyMode This property is required. bool
Boolean flag that determines wether all traffic over the virtual circuits is encrypted. Example: true
Type This property is required. string
The type can be one of these values: IPSEC_TUNNEL, LOOPBACK, REMOTE_PEERING_CONNECTION, VCN, VIRTUAL_CIRCUIT
VcnRouteType This property is required. 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 This property is required. String
The OCID of the network attached to the DRG.
ids This property is required. List<String>
The OCID of the target IPSec tunnel attachment.
ipsecConnectionId This property is required. String
The IPSec connection that contains the attached IPSec tunnel.
routeTableId This property is required. String
The OCID of the route table the DRG attachment is using.
transportAttachmentId This property is required. String
The OCID of the virtual circuit's DRG attachment.
transportOnlyMode This property is required. Boolean
Boolean flag that determines wether all traffic over the virtual circuits is encrypted. Example: true
type This property is required. String
The type can be one of these values: IPSEC_TUNNEL, LOOPBACK, REMOTE_PEERING_CONNECTION, VCN, VIRTUAL_CIRCUIT
vcnRouteType This property is required. 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 This property is required. string
The OCID of the network attached to the DRG.
ids This property is required. string[]
The OCID of the target IPSec tunnel attachment.
ipsecConnectionId This property is required. string
The IPSec connection that contains the attached IPSec tunnel.
routeTableId This property is required. string
The OCID of the route table the DRG attachment is using.
transportAttachmentId This property is required. string
The OCID of the virtual circuit's DRG attachment.
transportOnlyMode This property is required. boolean
Boolean flag that determines wether all traffic over the virtual circuits is encrypted. Example: true
type This property is required. string
The type can be one of these values: IPSEC_TUNNEL, LOOPBACK, REMOTE_PEERING_CONNECTION, VCN, VIRTUAL_CIRCUIT
vcnRouteType This property is required. 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 This property is required. str
The OCID of the network attached to the DRG.
ids This property is required. Sequence[str]
The OCID of the target IPSec tunnel attachment.
ipsec_connection_id This property is required. str
The IPSec connection that contains the attached IPSec tunnel.
route_table_id This property is required. str
The OCID of the route table the DRG attachment is using.
transport_attachment_id This property is required. str
The OCID of the virtual circuit's DRG attachment.
transport_only_mode This property is required. bool
Boolean flag that determines wether all traffic over the virtual circuits is encrypted. Example: true
type This property is required. str
The type can be one of these values: IPSEC_TUNNEL, LOOPBACK, REMOTE_PEERING_CONNECTION, VCN, VIRTUAL_CIRCUIT
vcn_route_type This property is required. 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 This property is required. String
The OCID of the network attached to the DRG.
ids This property is required. List<String>
The OCID of the target IPSec tunnel attachment.
ipsecConnectionId This property is required. String
The IPSec connection that contains the attached IPSec tunnel.
routeTableId This property is required. String
The OCID of the route table the DRG attachment is using.
transportAttachmentId This property is required. String
The OCID of the virtual circuit's DRG attachment.
transportOnlyMode This property is required. Boolean
Boolean flag that determines wether all traffic over the virtual circuits is encrypted. Example: true
type This property is required. String
The type can be one of these values: IPSEC_TUNNEL, LOOPBACK, REMOTE_PEERING_CONNECTION, VCN, VIRTUAL_CIRCUIT
vcnRouteType This property is required. 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 This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi