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

oci.Core.getDrgAttachments

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 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,
    });
    
    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[_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 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 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 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 string
    The OCID of the compartment.
    DefinedTags 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.
    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, 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.
    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]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.
    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]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.
    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,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.
    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,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.
    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]: 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.
    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]: 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.
    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, 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_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, 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_tenancy bool
    Indicates whether the DRG attachment and attached network live in a different tenancy than the DRG. Example: false
    network_details Sequence[core.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<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.
    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>
    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.
    Ids List<string>
    The OCID of the target IPSec tunnel attachment.
    IpsecConnectionId string
    The IPSec connection that contains the attached IPSec tunnel.
    RouteTableId string
    The OCID of the route table the DRG attachment is using.
    TransportAttachmentId string
    The OCID of the virtual circuit's DRG attachment.
    TransportOnlyMode bool
    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
    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.
    Ids []string
    The OCID of the target IPSec tunnel attachment.
    IpsecConnectionId string
    The IPSec connection that contains the attached IPSec tunnel.
    RouteTableId string
    The OCID of the route table the DRG attachment is using.
    TransportAttachmentId string
    The OCID of the virtual circuit's DRG attachment.
    TransportOnlyMode bool
    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
    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.
    ids List<String>
    The OCID of the target IPSec tunnel attachment.
    ipsecConnectionId String
    The IPSec connection that contains the attached IPSec tunnel.
    routeTableId String
    The OCID of the route table the DRG attachment is using.
    transportAttachmentId String
    The OCID of the virtual circuit's DRG attachment.
    transportOnlyMode Boolean
    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
    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.
    ids string[]
    The OCID of the target IPSec tunnel attachment.
    ipsecConnectionId string
    The IPSec connection that contains the attached IPSec tunnel.
    routeTableId string
    The OCID of the route table the DRG attachment is using.
    transportAttachmentId string
    The OCID of the virtual circuit's DRG attachment.
    transportOnlyMode boolean
    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
    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.
    ids Sequence[str]
    The OCID of the target IPSec tunnel attachment.
    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.
    transport_attachment_id str
    The OCID of the virtual circuit's DRG attachment.
    transport_only_mode bool
    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_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.
    ids List<String>
    The OCID of the target IPSec tunnel attachment.
    ipsecConnectionId String
    The IPSec connection that contains the attached IPSec tunnel.
    routeTableId String
    The OCID of the route table the DRG attachment is using.
    transportAttachmentId String
    The OCID of the virtual circuit's DRG attachment.
    transportOnlyMode Boolean
    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
    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
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi