oci.Core.getDrgAttachments
Explore with Pulumi AI
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,
});
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"])
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
	})
}
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,
    });
});
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());
    }
}
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}
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[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[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)
public static Output<GetDrgAttachmentsResult> getDrgAttachments(GetDrgAttachmentsArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Core/getDrgAttachments:getDrgAttachments
  arguments:
    # arguments dictionaryThe 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.
- DrgRoute stringTable Id 
- The OCID of the DRG route table assigned to the DRG attachment.
- Filters
List<GetDrg Attachments Filter> 
- 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.
- DrgRoute stringTable Id 
- The OCID of the DRG route table assigned to the DRG attachment.
- Filters
[]GetDrg Attachments Filter 
- 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.
- drgRoute StringTable Id 
- The OCID of the DRG route table assigned to the DRG attachment.
- filters
List<GetDrg Attachments Filter> 
- 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.
- drgRoute stringTable Id 
- The OCID of the DRG route table assigned to the DRG attachment.
- filters
GetDrg Attachments Filter[] 
- 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_ strtable_ id 
- The OCID of the DRG route table assigned to the DRG attachment.
- filters
Sequence[GetDrg Attachments Filter] 
- 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.
- drgRoute StringTable Id 
- 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<GetDrg Attachments Drg Attachment> 
- 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.
- DrgRoute stringTable Id 
- The OCID of the DRG route table that is assigned to this attachment.
- Filters
List<GetDrg Attachments Filter> 
- NetworkId string
- State string
- The DRG attachment's current state.
- VcnId string
- The OCID of the VCN. This field is deprecated. Instead, use the networkDetailsfield to view the OCID of the attached resource.
- CompartmentId string
- The OCID of the compartment containing the DRG attachment.
- DrgAttachments []GetDrg Attachments Drg Attachment 
- 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.
- DrgRoute stringTable Id 
- The OCID of the DRG route table that is assigned to this attachment.
- Filters
[]GetDrg Attachments Filter 
- NetworkId string
- State string
- The DRG attachment's current state.
- VcnId string
- The OCID of the VCN. This field is deprecated. Instead, use the networkDetailsfield to view the OCID of the attached resource.
- compartmentId String
- The OCID of the compartment containing the DRG attachment.
- drgAttachments List<GetDrg Attachments Drg Attachment> 
- 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.
- drgRoute StringTable Id 
- The OCID of the DRG route table that is assigned to this attachment.
- filters
List<GetDrg Attachments Filter> 
- networkId String
- state String
- The DRG attachment's current state.
- vcnId String
- The OCID of the VCN. This field is deprecated. Instead, use the networkDetailsfield to view the OCID of the attached resource.
- compartmentId string
- The OCID of the compartment containing the DRG attachment.
- drgAttachments GetDrg Attachments Drg Attachment[] 
- 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.
- drgRoute stringTable Id 
- The OCID of the DRG route table that is assigned to this attachment.
- filters
GetDrg Attachments Filter[] 
- networkId string
- state string
- The DRG attachment's current state.
- vcnId string
- The OCID of the VCN. This field is deprecated. Instead, use the networkDetailsfield to view the OCID of the attached resource.
- compartment_id str
- The OCID of the compartment containing the DRG attachment.
- drg_attachments Sequence[GetDrg Attachments Drg Attachment] 
- 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_ strtable_ id 
- The OCID of the DRG route table that is assigned to this attachment.
- filters
Sequence[GetDrg Attachments Filter] 
- 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 networkDetailsfield 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.
- drgRoute StringTable Id 
- 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 networkDetailsfield to view the OCID of the attached resource.
Supporting Types
GetDrgAttachmentsDrgAttachment    
- CompartmentId string
- The OCID of the compartment.
- 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 string
- A filter to return only resources that match the given display name exactly.
- DrgId string
- The OCID of the DRG.
- DrgRoute stringTable Id 
- The OCID of the DRG route table assigned to the DRG attachment.
- ExportDrg stringRoute Distribution Id 
- 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.
- 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 string
- The OCID of the network attached to the DRG.
- IsCross boolTenancy 
- Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false
- NetworkDetails List<GetDrg Attachments Drg Attachment Network Detail> 
- RemoveExport boolDrg Route Distribution Trigger 
- RouteTable stringId 
- 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.
- 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 string
- A filter to return only resources that match the given display name exactly.
- DrgId string
- The OCID of the DRG.
- DrgRoute stringTable Id 
- The OCID of the DRG route table assigned to the DRG attachment.
- ExportDrg stringRoute Distribution Id 
- 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.
- 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 string
- The OCID of the network attached to the DRG.
- IsCross boolTenancy 
- Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false
- NetworkDetails []GetDrg Attachments Drg Attachment Network Detail 
- RemoveExport boolDrg Route Distribution Trigger 
- RouteTable stringId 
- 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.
- 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 String
- A filter to return only resources that match the given display name exactly.
- drgId String
- The OCID of the DRG.
- drgRoute StringTable Id 
- The OCID of the DRG route table assigned to the DRG attachment.
- exportDrg StringRoute Distribution Id 
- 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.
- 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 String
- The OCID of the network attached to the DRG.
- isCross BooleanTenancy 
- Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false
- networkDetails List<GetDrg Attachments Drg Attachment Network Detail> 
- removeExport BooleanDrg Route Distribution Trigger 
- routeTable StringId 
- 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.
- {[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 string
- A filter to return only resources that match the given display name exactly.
- drgId string
- The OCID of the DRG.
- drgRoute stringTable Id 
- The OCID of the DRG route table assigned to the DRG attachment.
- exportDrg stringRoute Distribution Id 
- 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.
- {[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 string
- The OCID of the network attached to the DRG.
- isCross booleanTenancy 
- Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false
- networkDetails GetDrg Attachments Drg Attachment Network Detail[] 
- removeExport booleanDrg Route Distribution Trigger 
- routeTable stringId 
- 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.
- 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 str
- A filter to return only resources that match the given display name exactly.
- drg_id str
- The OCID of the DRG.
- drg_route_ strtable_ id 
- The OCID of the DRG route table assigned to the DRG attachment.
- export_drg_ strroute_ distribution_ id 
- 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.
- 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 str
- The OCID of the network attached to the DRG.
- is_cross_ booltenancy 
- Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false
- network_details Sequence[GetDrg Attachments Drg Attachment Network Detail] 
- remove_export_ booldrg_ route_ distribution_ trigger 
- route_table_ strid 
- 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.
- 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 String
- A filter to return only resources that match the given display name exactly.
- drgId String
- The OCID of the DRG.
- drgRoute StringTable Id 
- The OCID of the DRG route table assigned to the DRG attachment.
- exportDrg StringRoute Distribution Id 
- 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.
- 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 String
- The OCID of the network attached to the DRG.
- isCross BooleanTenancy 
- Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false
- networkDetails List<Property Map>
- removeExport BooleanDrg Route Distribution Trigger 
- routeTable StringId 
- 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.
- Ids List<string>
- The OCID of the target IPSec tunnel attachment.
- IpsecConnection stringId 
- The IPSec connection that contains the attached IPSec tunnel.
- RouteTable stringId 
- The OCID of the route table the DRG attachment is using.
- TransportAttachment stringId 
- The OCID of the virtual circuit's DRG attachment.
- TransportOnly boolMode 
- Boolean flag that determines wether all traffic over the virtual circuits is encrypted. Example: true
- Type string
- The type can be one of these values: IPSEC_TUNNEL,LOOPBACK,REMOTE_PEERING_CONNECTION,VCN,VIRTUAL_CIRCUIT
- VcnRoute stringType 
- 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.
- Ids []string
- The OCID of the target IPSec tunnel attachment.
- IpsecConnection stringId 
- The IPSec connection that contains the attached IPSec tunnel.
- RouteTable stringId 
- The OCID of the route table the DRG attachment is using.
- TransportAttachment stringId 
- The OCID of the virtual circuit's DRG attachment.
- TransportOnly boolMode 
- Boolean flag that determines wether all traffic over the virtual circuits is encrypted. Example: true
- Type string
- The type can be one of these values: IPSEC_TUNNEL,LOOPBACK,REMOTE_PEERING_CONNECTION,VCN,VIRTUAL_CIRCUIT
- VcnRoute stringType 
- 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.
- ids List<String>
- The OCID of the target IPSec tunnel attachment.
- ipsecConnection StringId 
- The IPSec connection that contains the attached IPSec tunnel.
- routeTable StringId 
- The OCID of the route table the DRG attachment is using.
- transportAttachment StringId 
- The OCID of the virtual circuit's DRG attachment.
- transportOnly BooleanMode 
- Boolean flag that determines wether all traffic over the virtual circuits is encrypted. Example: true
- type String
- The type can be one of these values: IPSEC_TUNNEL,LOOPBACK,REMOTE_PEERING_CONNECTION,VCN,VIRTUAL_CIRCUIT
- vcnRoute StringType 
- 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.
- ids string[]
- The OCID of the target IPSec tunnel attachment.
- ipsecConnection stringId 
- The IPSec connection that contains the attached IPSec tunnel.
- routeTable stringId 
- The OCID of the route table the DRG attachment is using.
- transportAttachment stringId 
- The OCID of the virtual circuit's DRG attachment.
- transportOnly booleanMode 
- Boolean flag that determines wether all traffic over the virtual circuits is encrypted. Example: true
- type string
- The type can be one of these values: IPSEC_TUNNEL,LOOPBACK,REMOTE_PEERING_CONNECTION,VCN,VIRTUAL_CIRCUIT
- vcnRoute stringType 
- 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.
- ids Sequence[str]
- The OCID of the target IPSec tunnel attachment.
- ipsec_connection_ strid 
- The IPSec connection that contains the attached IPSec tunnel.
- route_table_ strid 
- The OCID of the route table the DRG attachment is using.
- transport_attachment_ strid 
- The OCID of the virtual circuit's DRG attachment.
- transport_only_ boolmode 
- Boolean flag that determines wether all traffic over the virtual circuits is encrypted. Example: true
- type str
- The type can be one of these values: IPSEC_TUNNEL,LOOPBACK,REMOTE_PEERING_CONNECTION,VCN,VIRTUAL_CIRCUIT
- vcn_route_ strtype 
- 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.
- ids List<String>
- The OCID of the target IPSec tunnel attachment.
- ipsecConnection StringId 
- The IPSec connection that contains the attached IPSec tunnel.
- routeTable StringId 
- The OCID of the route table the DRG attachment is using.
- transportAttachment StringId 
- The OCID of the virtual circuit's DRG attachment.
- transportOnly BooleanMode 
- Boolean flag that determines wether all traffic over the virtual circuits is encrypted. Example: true
- type String
- The type can be one of these values: IPSEC_TUNNEL,LOOPBACK,REMOTE_PEERING_CONNECTION,VCN,VIRTUAL_CIRCUIT
- vcnRoute StringType 
- 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   
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.