1. Packages
  2. Ibm Provider
  3. API Docs
  4. getDlGateway
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getDlGateway

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Import the details of an existing IBM Cloud Infrastructure Direct Link Gateway and its virtual connections. For more information, about IBM Cloud Direct Link, see getting started with IBM Cloud Direct Link.

    Example Usage


    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const testDlGatewayVc = ibm.getDlGateway({
        name: "mygateway",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    test_dl_gateway_vc = ibm.get_dl_gateway(name="mygateway")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.LookupDlGateway(ctx, &ibm.LookupDlGatewayArgs{
    			Name: "mygateway",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var testDlGatewayVc = Ibm.GetDlGateway.Invoke(new()
        {
            Name = "mygateway",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetDlGatewayArgs;
    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 testDlGatewayVc = IbmFunctions.getDlGateway(GetDlGatewayArgs.builder()
                .name("mygateway")
                .build());
    
        }
    }
    
    variables:
      testDlGatewayVc:
        fn::invoke:
          function: ibm:getDlGateway
          arguments:
            name: mygateway
    

    Using getDlGateway

    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 getDlGateway(args: GetDlGatewayArgs, opts?: InvokeOptions): Promise<GetDlGatewayResult>
    function getDlGatewayOutput(args: GetDlGatewayOutputArgs, opts?: InvokeOptions): Output<GetDlGatewayResult>
    def get_dl_gateway(bgp_status_updated_at: Optional[str] = None,
                       id: Optional[str] = None,
                       link_status_updated_at: Optional[str] = None,
                       name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetDlGatewayResult
    def get_dl_gateway_output(bgp_status_updated_at: Optional[pulumi.Input[str]] = None,
                       id: Optional[pulumi.Input[str]] = None,
                       link_status_updated_at: Optional[pulumi.Input[str]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetDlGatewayResult]
    func LookupDlGateway(ctx *Context, args *LookupDlGatewayArgs, opts ...InvokeOption) (*LookupDlGatewayResult, error)
    func LookupDlGatewayOutput(ctx *Context, args *LookupDlGatewayOutputArgs, opts ...InvokeOption) LookupDlGatewayResultOutput

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

    public static class GetDlGateway 
    {
        public static Task<GetDlGatewayResult> InvokeAsync(GetDlGatewayArgs args, InvokeOptions? opts = null)
        public static Output<GetDlGatewayResult> Invoke(GetDlGatewayInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDlGatewayResult> getDlGateway(GetDlGatewayArgs args, InvokeOptions options)
    public static Output<GetDlGatewayResult> getDlGateway(GetDlGatewayArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getDlGateway:getDlGateway
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The unique user-defined name for the gateway.
    BgpStatusUpdatedAt string
    (String) Date and time bgp status was updated.
    Id string
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    LinkStatusUpdatedAt string
    (String) Date and time link status was updated.
    Name string
    The unique user-defined name for the gateway.
    BgpStatusUpdatedAt string
    (String) Date and time bgp status was updated.
    Id string
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    LinkStatusUpdatedAt string
    (String) Date and time link status was updated.
    name String
    The unique user-defined name for the gateway.
    bgpStatusUpdatedAt String
    (String) Date and time bgp status was updated.
    id String
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    linkStatusUpdatedAt String
    (String) Date and time link status was updated.
    name string
    The unique user-defined name for the gateway.
    bgpStatusUpdatedAt string
    (String) Date and time bgp status was updated.
    id string
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    linkStatusUpdatedAt string
    (String) Date and time link status was updated.
    name str
    The unique user-defined name for the gateway.
    bgp_status_updated_at str
    (String) Date and time bgp status was updated.
    id str
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    link_status_updated_at str
    (String) Date and time link status was updated.
    name String
    The unique user-defined name for the gateway.
    bgpStatusUpdatedAt String
    (String) Date and time bgp status was updated.
    id String
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    linkStatusUpdatedAt String
    (String) Date and time link status was updated.

    getDlGateway Result

    The following output properties are available:

    AsPrepends List<GetDlGatewayAsPrepend>
    (List) List of AS Prepend configuration information Nested scheme for as_prepend:
    AuthenticationKey string
    (String) BGP MD5 authentication key.
    BfdInterval double
    (String) Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.
    BfdMultiplier double
    (String) The number of hello packets not received by a neighbor that causes the originating interface to be declared down.
    BfdStatus string
    (String) Gateway BFD status.
    BfdStatusUpdatedAt string
    (String) Date and time bfd status was updated.
    BgpAsn double
    (String) Customer BGP ASN.
    BgpBaseCidr string
    (String) The BGP base CIDR.
    BgpCerCidr string
    (String) The BGP customer edge router CIDR.
    BgpIbmAsn double
    (String) The IBM BGP ASN.
    BgpIbmCidr string
    (String) The IBM BGP CIDR.
    BgpStatus string
    (String) The gateway BGP status.
    BgpStatusUpdatedAt string
    (String) Date and time bgp status was updated.
    ChangeRequest string
    CompletionNoticeRejectReason string
    (String) The reason for completion notice rejection. Only included on a dedicated gateways type with a rejected completion notice.
    ConnectionMode string
    (String) Type of network connection that you want to bind to your direct link.
    CreatedAt string
    (String) The creation date and time resource.
    Crn string
    (String) The CRN of the gateway.
    CrossConnectRouter string
    (String) The cross connect router. Only included on a dedicated gateways type.
    DefaultExportRouteFilter string
    (String) The default directional route filter action that applies to routes that do not match any directional route filters.
    DefaultImportRouteFilter string
    (String) The default directional route filter action that applies to routes that do not match any directional route filters.
    GatewayVcs List<GetDlGatewayGatewayVc>
    Global bool
    (Bool) Gateway with global routing as true can connect networks outside your associated region.
    Id string
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    LinkStatus string
    (String) The gateway link status. Only included on a dedicated gateways type.
    LinkStatusUpdatedAt string
    (String) Date and time link status was updated.
    LocationDisplayName string
    (String) Long name of the gateway location.
    LocationName string
    (String) The location name of the gateway.
    MacsecConfigs List<GetDlGatewayMacsecConfig>
    Metered bool
    (String) Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
    Name string
    (String) The unique user-defined name of the only virtual connection in the gateway.
    OperationalStatus string
    (String) The gateway operational statu.
    Port string
    (Integer) The port identifier.
    ProviderApiManaged bool
    (Bool) Indicates the gateway is created through a provider portal. If set true, gateway can only be changed. If set false, gateway is deleted through the corresponding provider portal.
    ResourceGroup string
    (String) The resource group identifier.
    SpeedMbps double
    (String) The gateway speed in MBPS.
    Type string
    (String) The virtual connection type. Possible values are classic,vpc. For example, vpc.
    Vlan double
    (String) The VLAN allocated for the gateway. Only set for connect gateways type created directly through the IBM portal.
    AsPrepends []GetDlGatewayAsPrepend
    (List) List of AS Prepend configuration information Nested scheme for as_prepend:
    AuthenticationKey string
    (String) BGP MD5 authentication key.
    BfdInterval float64
    (String) Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.
    BfdMultiplier float64
    (String) The number of hello packets not received by a neighbor that causes the originating interface to be declared down.
    BfdStatus string
    (String) Gateway BFD status.
    BfdStatusUpdatedAt string
    (String) Date and time bfd status was updated.
    BgpAsn float64
    (String) Customer BGP ASN.
    BgpBaseCidr string
    (String) The BGP base CIDR.
    BgpCerCidr string
    (String) The BGP customer edge router CIDR.
    BgpIbmAsn float64
    (String) The IBM BGP ASN.
    BgpIbmCidr string
    (String) The IBM BGP CIDR.
    BgpStatus string
    (String) The gateway BGP status.
    BgpStatusUpdatedAt string
    (String) Date and time bgp status was updated.
    ChangeRequest string
    CompletionNoticeRejectReason string
    (String) The reason for completion notice rejection. Only included on a dedicated gateways type with a rejected completion notice.
    ConnectionMode string
    (String) Type of network connection that you want to bind to your direct link.
    CreatedAt string
    (String) The creation date and time resource.
    Crn string
    (String) The CRN of the gateway.
    CrossConnectRouter string
    (String) The cross connect router. Only included on a dedicated gateways type.
    DefaultExportRouteFilter string
    (String) The default directional route filter action that applies to routes that do not match any directional route filters.
    DefaultImportRouteFilter string
    (String) The default directional route filter action that applies to routes that do not match any directional route filters.
    GatewayVcs []GetDlGatewayGatewayVc
    Global bool
    (Bool) Gateway with global routing as true can connect networks outside your associated region.
    Id string
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    LinkStatus string
    (String) The gateway link status. Only included on a dedicated gateways type.
    LinkStatusUpdatedAt string
    (String) Date and time link status was updated.
    LocationDisplayName string
    (String) Long name of the gateway location.
    LocationName string
    (String) The location name of the gateway.
    MacsecConfigs []GetDlGatewayMacsecConfig
    Metered bool
    (String) Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
    Name string
    (String) The unique user-defined name of the only virtual connection in the gateway.
    OperationalStatus string
    (String) The gateway operational statu.
    Port string
    (Integer) The port identifier.
    ProviderApiManaged bool
    (Bool) Indicates the gateway is created through a provider portal. If set true, gateway can only be changed. If set false, gateway is deleted through the corresponding provider portal.
    ResourceGroup string
    (String) The resource group identifier.
    SpeedMbps float64
    (String) The gateway speed in MBPS.
    Type string
    (String) The virtual connection type. Possible values are classic,vpc. For example, vpc.
    Vlan float64
    (String) The VLAN allocated for the gateway. Only set for connect gateways type created directly through the IBM portal.
    asPrepends List<GetDlGatewayAsPrepend>
    (List) List of AS Prepend configuration information Nested scheme for as_prepend:
    authenticationKey String
    (String) BGP MD5 authentication key.
    bfdInterval Double
    (String) Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.
    bfdMultiplier Double
    (String) The number of hello packets not received by a neighbor that causes the originating interface to be declared down.
    bfdStatus String
    (String) Gateway BFD status.
    bfdStatusUpdatedAt String
    (String) Date and time bfd status was updated.
    bgpAsn Double
    (String) Customer BGP ASN.
    bgpBaseCidr String
    (String) The BGP base CIDR.
    bgpCerCidr String
    (String) The BGP customer edge router CIDR.
    bgpIbmAsn Double
    (String) The IBM BGP ASN.
    bgpIbmCidr String
    (String) The IBM BGP CIDR.
    bgpStatus String
    (String) The gateway BGP status.
    bgpStatusUpdatedAt String
    (String) Date and time bgp status was updated.
    changeRequest String
    completionNoticeRejectReason String
    (String) The reason for completion notice rejection. Only included on a dedicated gateways type with a rejected completion notice.
    connectionMode String
    (String) Type of network connection that you want to bind to your direct link.
    createdAt String
    (String) The creation date and time resource.
    crn String
    (String) The CRN of the gateway.
    crossConnectRouter String
    (String) The cross connect router. Only included on a dedicated gateways type.
    defaultExportRouteFilter String
    (String) The default directional route filter action that applies to routes that do not match any directional route filters.
    defaultImportRouteFilter String
    (String) The default directional route filter action that applies to routes that do not match any directional route filters.
    gatewayVcs List<GetDlGatewayGatewayVc>
    global Boolean
    (Bool) Gateway with global routing as true can connect networks outside your associated region.
    id String
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    linkStatus String
    (String) The gateway link status. Only included on a dedicated gateways type.
    linkStatusUpdatedAt String
    (String) Date and time link status was updated.
    locationDisplayName String
    (String) Long name of the gateway location.
    locationName String
    (String) The location name of the gateway.
    macsecConfigs List<GetDlGatewayMacsecConfig>
    metered Boolean
    (String) Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
    name String
    (String) The unique user-defined name of the only virtual connection in the gateway.
    operationalStatus String
    (String) The gateway operational statu.
    port String
    (Integer) The port identifier.
    providerApiManaged Boolean
    (Bool) Indicates the gateway is created through a provider portal. If set true, gateway can only be changed. If set false, gateway is deleted through the corresponding provider portal.
    resourceGroup String
    (String) The resource group identifier.
    speedMbps Double
    (String) The gateway speed in MBPS.
    type String
    (String) The virtual connection type. Possible values are classic,vpc. For example, vpc.
    vlan Double
    (String) The VLAN allocated for the gateway. Only set for connect gateways type created directly through the IBM portal.
    asPrepends GetDlGatewayAsPrepend[]
    (List) List of AS Prepend configuration information Nested scheme for as_prepend:
    authenticationKey string
    (String) BGP MD5 authentication key.
    bfdInterval number
    (String) Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.
    bfdMultiplier number
    (String) The number of hello packets not received by a neighbor that causes the originating interface to be declared down.
    bfdStatus string
    (String) Gateway BFD status.
    bfdStatusUpdatedAt string
    (String) Date and time bfd status was updated.
    bgpAsn number
    (String) Customer BGP ASN.
    bgpBaseCidr string
    (String) The BGP base CIDR.
    bgpCerCidr string
    (String) The BGP customer edge router CIDR.
    bgpIbmAsn number
    (String) The IBM BGP ASN.
    bgpIbmCidr string
    (String) The IBM BGP CIDR.
    bgpStatus string
    (String) The gateway BGP status.
    bgpStatusUpdatedAt string
    (String) Date and time bgp status was updated.
    changeRequest string
    completionNoticeRejectReason string
    (String) The reason for completion notice rejection. Only included on a dedicated gateways type with a rejected completion notice.
    connectionMode string
    (String) Type of network connection that you want to bind to your direct link.
    createdAt string
    (String) The creation date and time resource.
    crn string
    (String) The CRN of the gateway.
    crossConnectRouter string
    (String) The cross connect router. Only included on a dedicated gateways type.
    defaultExportRouteFilter string
    (String) The default directional route filter action that applies to routes that do not match any directional route filters.
    defaultImportRouteFilter string
    (String) The default directional route filter action that applies to routes that do not match any directional route filters.
    gatewayVcs GetDlGatewayGatewayVc[]
    global boolean
    (Bool) Gateway with global routing as true can connect networks outside your associated region.
    id string
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    linkStatus string
    (String) The gateway link status. Only included on a dedicated gateways type.
    linkStatusUpdatedAt string
    (String) Date and time link status was updated.
    locationDisplayName string
    (String) Long name of the gateway location.
    locationName string
    (String) The location name of the gateway.
    macsecConfigs GetDlGatewayMacsecConfig[]
    metered boolean
    (String) Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
    name string
    (String) The unique user-defined name of the only virtual connection in the gateway.
    operationalStatus string
    (String) The gateway operational statu.
    port string
    (Integer) The port identifier.
    providerApiManaged boolean
    (Bool) Indicates the gateway is created through a provider portal. If set true, gateway can only be changed. If set false, gateway is deleted through the corresponding provider portal.
    resourceGroup string
    (String) The resource group identifier.
    speedMbps number
    (String) The gateway speed in MBPS.
    type string
    (String) The virtual connection type. Possible values are classic,vpc. For example, vpc.
    vlan number
    (String) The VLAN allocated for the gateway. Only set for connect gateways type created directly through the IBM portal.
    as_prepends Sequence[GetDlGatewayAsPrepend]
    (List) List of AS Prepend configuration information Nested scheme for as_prepend:
    authentication_key str
    (String) BGP MD5 authentication key.
    bfd_interval float
    (String) Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.
    bfd_multiplier float
    (String) The number of hello packets not received by a neighbor that causes the originating interface to be declared down.
    bfd_status str
    (String) Gateway BFD status.
    bfd_status_updated_at str
    (String) Date and time bfd status was updated.
    bgp_asn float
    (String) Customer BGP ASN.
    bgp_base_cidr str
    (String) The BGP base CIDR.
    bgp_cer_cidr str
    (String) The BGP customer edge router CIDR.
    bgp_ibm_asn float
    (String) The IBM BGP ASN.
    bgp_ibm_cidr str
    (String) The IBM BGP CIDR.
    bgp_status str
    (String) The gateway BGP status.
    bgp_status_updated_at str
    (String) Date and time bgp status was updated.
    change_request str
    completion_notice_reject_reason str
    (String) The reason for completion notice rejection. Only included on a dedicated gateways type with a rejected completion notice.
    connection_mode str
    (String) Type of network connection that you want to bind to your direct link.
    created_at str
    (String) The creation date and time resource.
    crn str
    (String) The CRN of the gateway.
    cross_connect_router str
    (String) The cross connect router. Only included on a dedicated gateways type.
    default_export_route_filter str
    (String) The default directional route filter action that applies to routes that do not match any directional route filters.
    default_import_route_filter str
    (String) The default directional route filter action that applies to routes that do not match any directional route filters.
    gateway_vcs Sequence[GetDlGatewayGatewayVc]
    global_ bool
    (Bool) Gateway with global routing as true can connect networks outside your associated region.
    id str
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    link_status str
    (String) The gateway link status. Only included on a dedicated gateways type.
    link_status_updated_at str
    (String) Date and time link status was updated.
    location_display_name str
    (String) Long name of the gateway location.
    location_name str
    (String) The location name of the gateway.
    macsec_configs Sequence[GetDlGatewayMacsecConfig]
    metered bool
    (String) Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
    name str
    (String) The unique user-defined name of the only virtual connection in the gateway.
    operational_status str
    (String) The gateway operational statu.
    port str
    (Integer) The port identifier.
    provider_api_managed bool
    (Bool) Indicates the gateway is created through a provider portal. If set true, gateway can only be changed. If set false, gateway is deleted through the corresponding provider portal.
    resource_group str
    (String) The resource group identifier.
    speed_mbps float
    (String) The gateway speed in MBPS.
    type str
    (String) The virtual connection type. Possible values are classic,vpc. For example, vpc.
    vlan float
    (String) The VLAN allocated for the gateway. Only set for connect gateways type created directly through the IBM portal.
    asPrepends List<Property Map>
    (List) List of AS Prepend configuration information Nested scheme for as_prepend:
    authenticationKey String
    (String) BGP MD5 authentication key.
    bfdInterval Number
    (String) Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.
    bfdMultiplier Number
    (String) The number of hello packets not received by a neighbor that causes the originating interface to be declared down.
    bfdStatus String
    (String) Gateway BFD status.
    bfdStatusUpdatedAt String
    (String) Date and time bfd status was updated.
    bgpAsn Number
    (String) Customer BGP ASN.
    bgpBaseCidr String
    (String) The BGP base CIDR.
    bgpCerCidr String
    (String) The BGP customer edge router CIDR.
    bgpIbmAsn Number
    (String) The IBM BGP ASN.
    bgpIbmCidr String
    (String) The IBM BGP CIDR.
    bgpStatus String
    (String) The gateway BGP status.
    bgpStatusUpdatedAt String
    (String) Date and time bgp status was updated.
    changeRequest String
    completionNoticeRejectReason String
    (String) The reason for completion notice rejection. Only included on a dedicated gateways type with a rejected completion notice.
    connectionMode String
    (String) Type of network connection that you want to bind to your direct link.
    createdAt String
    (String) The creation date and time resource.
    crn String
    (String) The CRN of the gateway.
    crossConnectRouter String
    (String) The cross connect router. Only included on a dedicated gateways type.
    defaultExportRouteFilter String
    (String) The default directional route filter action that applies to routes that do not match any directional route filters.
    defaultImportRouteFilter String
    (String) The default directional route filter action that applies to routes that do not match any directional route filters.
    gatewayVcs List<Property Map>
    global Boolean
    (Bool) Gateway with global routing as true can connect networks outside your associated region.
    id String
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    linkStatus String
    (String) The gateway link status. Only included on a dedicated gateways type.
    linkStatusUpdatedAt String
    (String) Date and time link status was updated.
    locationDisplayName String
    (String) Long name of the gateway location.
    locationName String
    (String) The location name of the gateway.
    macsecConfigs List<Property Map>
    metered Boolean
    (String) Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
    name String
    (String) The unique user-defined name of the only virtual connection in the gateway.
    operationalStatus String
    (String) The gateway operational statu.
    port String
    (Integer) The port identifier.
    providerApiManaged Boolean
    (Bool) Indicates the gateway is created through a provider portal. If set true, gateway can only be changed. If set false, gateway is deleted through the corresponding provider portal.
    resourceGroup String
    (String) The resource group identifier.
    speedMbps Number
    (String) The gateway speed in MBPS.
    type String
    (String) The virtual connection type. Possible values are classic,vpc. For example, vpc.
    vlan Number
    (String) The VLAN allocated for the gateway. Only set for connect gateways type created directly through the IBM portal.

    Supporting Types

    GetDlGatewayAsPrepend

    CreatedAt string
    (String) The creation date and time resource.
    Id string
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    Length double
    (Integer) Number of times the ASN to appended to the AS Path.
    Policy string
    (String) Route type this AS Prepend applies to. Possible values are import and export.
    Prefix string
    (Deprecated, String) Comma separated list of prefixes this AS Prepend applies to. Maximum of 10 prefixes. If not specified, this AS Prepend applies to all prefixes.
    SpecificPrefixes List<string>
    (Array of Strings) Array of prefixes this AS Prepend applies to.
    UpdatedAt string
    (String) The date and time AS Prepend was updated
    CreatedAt string
    (String) The creation date and time resource.
    Id string
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    Length float64
    (Integer) Number of times the ASN to appended to the AS Path.
    Policy string
    (String) Route type this AS Prepend applies to. Possible values are import and export.
    Prefix string
    (Deprecated, String) Comma separated list of prefixes this AS Prepend applies to. Maximum of 10 prefixes. If not specified, this AS Prepend applies to all prefixes.
    SpecificPrefixes []string
    (Array of Strings) Array of prefixes this AS Prepend applies to.
    UpdatedAt string
    (String) The date and time AS Prepend was updated
    createdAt String
    (String) The creation date and time resource.
    id String
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    length Double
    (Integer) Number of times the ASN to appended to the AS Path.
    policy String
    (String) Route type this AS Prepend applies to. Possible values are import and export.
    prefix String
    (Deprecated, String) Comma separated list of prefixes this AS Prepend applies to. Maximum of 10 prefixes. If not specified, this AS Prepend applies to all prefixes.
    specificPrefixes List<String>
    (Array of Strings) Array of prefixes this AS Prepend applies to.
    updatedAt String
    (String) The date and time AS Prepend was updated
    createdAt string
    (String) The creation date and time resource.
    id string
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    length number
    (Integer) Number of times the ASN to appended to the AS Path.
    policy string
    (String) Route type this AS Prepend applies to. Possible values are import and export.
    prefix string
    (Deprecated, String) Comma separated list of prefixes this AS Prepend applies to. Maximum of 10 prefixes. If not specified, this AS Prepend applies to all prefixes.
    specificPrefixes string[]
    (Array of Strings) Array of prefixes this AS Prepend applies to.
    updatedAt string
    (String) The date and time AS Prepend was updated
    created_at str
    (String) The creation date and time resource.
    id str
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    length float
    (Integer) Number of times the ASN to appended to the AS Path.
    policy str
    (String) Route type this AS Prepend applies to. Possible values are import and export.
    prefix str
    (Deprecated, String) Comma separated list of prefixes this AS Prepend applies to. Maximum of 10 prefixes. If not specified, this AS Prepend applies to all prefixes.
    specific_prefixes Sequence[str]
    (Array of Strings) Array of prefixes this AS Prepend applies to.
    updated_at str
    (String) The date and time AS Prepend was updated
    createdAt String
    (String) The creation date and time resource.
    id String
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    length Number
    (Integer) Number of times the ASN to appended to the AS Path.
    policy String
    (String) Route type this AS Prepend applies to. Possible values are import and export.
    prefix String
    (Deprecated, String) Comma separated list of prefixes this AS Prepend applies to. Maximum of 10 prefixes. If not specified, this AS Prepend applies to all prefixes.
    specificPrefixes List<String>
    (Array of Strings) Array of prefixes this AS Prepend applies to.
    updatedAt String
    (String) The date and time AS Prepend was updated

    GetDlGatewayGatewayVc

    CreatedAt string
    (String) The creation date and time resource.
    Id string
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    Name string
    The unique user-defined name for the gateway.
    NetworkAccount string
    (String) For virtual connections across two different IBM Cloud accounts. Network_account indicates the account you own the target network. For example, 00aa14a2e0fb102c8995ebefhhhf8655556
    NetworkId string
    (String) The unique identifier of the target network. For type vpc, virtual connections is the CRN of the target VPC. This field do not apply for type classic connections. For example, crn:v1:bluemix:public:is:us-east:a/28e4d90ac7504be69447111122223333::vpc:aaa81ac8-5e96-42a0-a4b7-6c2e2dbb.
    Status string
    (String) The status of the virtual connection. Possible values are pending,attached,approval_pending,rejected,expired,deleting,detached_by_network_pending,detached_by_network.
    Type string
    (String) The virtual connection type. Possible values are classic,vpc. For example, vpc.
    CreatedAt string
    (String) The creation date and time resource.
    Id string
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    Name string
    The unique user-defined name for the gateway.
    NetworkAccount string
    (String) For virtual connections across two different IBM Cloud accounts. Network_account indicates the account you own the target network. For example, 00aa14a2e0fb102c8995ebefhhhf8655556
    NetworkId string
    (String) The unique identifier of the target network. For type vpc, virtual connections is the CRN of the target VPC. This field do not apply for type classic connections. For example, crn:v1:bluemix:public:is:us-east:a/28e4d90ac7504be69447111122223333::vpc:aaa81ac8-5e96-42a0-a4b7-6c2e2dbb.
    Status string
    (String) The status of the virtual connection. Possible values are pending,attached,approval_pending,rejected,expired,deleting,detached_by_network_pending,detached_by_network.
    Type string
    (String) The virtual connection type. Possible values are classic,vpc. For example, vpc.
    createdAt String
    (String) The creation date and time resource.
    id String
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    name String
    The unique user-defined name for the gateway.
    networkAccount String
    (String) For virtual connections across two different IBM Cloud accounts. Network_account indicates the account you own the target network. For example, 00aa14a2e0fb102c8995ebefhhhf8655556
    networkId String
    (String) The unique identifier of the target network. For type vpc, virtual connections is the CRN of the target VPC. This field do not apply for type classic connections. For example, crn:v1:bluemix:public:is:us-east:a/28e4d90ac7504be69447111122223333::vpc:aaa81ac8-5e96-42a0-a4b7-6c2e2dbb.
    status String
    (String) The status of the virtual connection. Possible values are pending,attached,approval_pending,rejected,expired,deleting,detached_by_network_pending,detached_by_network.
    type String
    (String) The virtual connection type. Possible values are classic,vpc. For example, vpc.
    createdAt string
    (String) The creation date and time resource.
    id string
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    name string
    The unique user-defined name for the gateway.
    networkAccount string
    (String) For virtual connections across two different IBM Cloud accounts. Network_account indicates the account you own the target network. For example, 00aa14a2e0fb102c8995ebefhhhf8655556
    networkId string
    (String) The unique identifier of the target network. For type vpc, virtual connections is the CRN of the target VPC. This field do not apply for type classic connections. For example, crn:v1:bluemix:public:is:us-east:a/28e4d90ac7504be69447111122223333::vpc:aaa81ac8-5e96-42a0-a4b7-6c2e2dbb.
    status string
    (String) The status of the virtual connection. Possible values are pending,attached,approval_pending,rejected,expired,deleting,detached_by_network_pending,detached_by_network.
    type string
    (String) The virtual connection type. Possible values are classic,vpc. For example, vpc.
    created_at str
    (String) The creation date and time resource.
    id str
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    name str
    The unique user-defined name for the gateway.
    network_account str
    (String) For virtual connections across two different IBM Cloud accounts. Network_account indicates the account you own the target network. For example, 00aa14a2e0fb102c8995ebefhhhf8655556
    network_id str
    (String) The unique identifier of the target network. For type vpc, virtual connections is the CRN of the target VPC. This field do not apply for type classic connections. For example, crn:v1:bluemix:public:is:us-east:a/28e4d90ac7504be69447111122223333::vpc:aaa81ac8-5e96-42a0-a4b7-6c2e2dbb.
    status str
    (String) The status of the virtual connection. Possible values are pending,attached,approval_pending,rejected,expired,deleting,detached_by_network_pending,detached_by_network.
    type str
    (String) The virtual connection type. Possible values are classic,vpc. For example, vpc.
    createdAt String
    (String) The creation date and time resource.
    id String
    (String) The unique identifier of the virtual connection. For example, `ef4dcbtyu1a-fee4-41c7-9e11-9cd99e65c1f4.
    name String
    The unique user-defined name for the gateway.
    networkAccount String
    (String) For virtual connections across two different IBM Cloud accounts. Network_account indicates the account you own the target network. For example, 00aa14a2e0fb102c8995ebefhhhf8655556
    networkId String
    (String) The unique identifier of the target network. For type vpc, virtual connections is the CRN of the target VPC. This field do not apply for type classic connections. For example, crn:v1:bluemix:public:is:us-east:a/28e4d90ac7504be69447111122223333::vpc:aaa81ac8-5e96-42a0-a4b7-6c2e2dbb.
    status String
    (String) The status of the virtual connection. Possible values are pending,attached,approval_pending,rejected,expired,deleting,detached_by_network_pending,detached_by_network.
    type String
    (String) The virtual connection type. Possible values are classic,vpc. For example, vpc.

    GetDlGatewayMacsecConfig

    Active bool
    ActiveCak string
    CipherSuite string
    ConfidentialityOffset double
    CryptographicAlgorithm string
    FallbackCak string
    KeyServerPriority double
    PrimaryCak string
    SakExpiryTime double
    SecurityPolicy string
    Status string
    (String) The status of the virtual connection. Possible values are pending,attached,approval_pending,rejected,expired,deleting,detached_by_network_pending,detached_by_network.
    WindowSize double
    Active bool
    ActiveCak string
    CipherSuite string
    ConfidentialityOffset float64
    CryptographicAlgorithm string
    FallbackCak string
    KeyServerPriority float64
    PrimaryCak string
    SakExpiryTime float64
    SecurityPolicy string
    Status string
    (String) The status of the virtual connection. Possible values are pending,attached,approval_pending,rejected,expired,deleting,detached_by_network_pending,detached_by_network.
    WindowSize float64
    active Boolean
    activeCak String
    cipherSuite String
    confidentialityOffset Double
    cryptographicAlgorithm String
    fallbackCak String
    keyServerPriority Double
    primaryCak String
    sakExpiryTime Double
    securityPolicy String
    status String
    (String) The status of the virtual connection. Possible values are pending,attached,approval_pending,rejected,expired,deleting,detached_by_network_pending,detached_by_network.
    windowSize Double
    active boolean
    activeCak string
    cipherSuite string
    confidentialityOffset number
    cryptographicAlgorithm string
    fallbackCak string
    keyServerPriority number
    primaryCak string
    sakExpiryTime number
    securityPolicy string
    status string
    (String) The status of the virtual connection. Possible values are pending,attached,approval_pending,rejected,expired,deleting,detached_by_network_pending,detached_by_network.
    windowSize number
    active bool
    active_cak str
    cipher_suite str
    confidentiality_offset float
    cryptographic_algorithm str
    fallback_cak str
    key_server_priority float
    primary_cak str
    sak_expiry_time float
    security_policy str
    status str
    (String) The status of the virtual connection. Possible values are pending,attached,approval_pending,rejected,expired,deleting,detached_by_network_pending,detached_by_network.
    window_size float
    active Boolean
    activeCak String
    cipherSuite String
    confidentialityOffset Number
    cryptographicAlgorithm String
    fallbackCak String
    keyServerPriority Number
    primaryCak String
    sakExpiryTime Number
    securityPolicy String
    status String
    (String) The status of the virtual connection. Possible values are pending,attached,approval_pending,rejected,expired,deleting,detached_by_network_pending,detached_by_network.
    windowSize Number

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud