ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud
ibm.getDlProviderGateways
Explore with Pulumi AI
Import the details of an existing nfrastructure Direct Link Provider Gateway as a read-only data source. For more information, refer to about Direct Link.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const dsDlproviderGateways = ibm.getDlProviderGateways({});
import pulumi
import pulumi_ibm as ibm
ds_dlprovider_gateways = ibm.get_dl_provider_gateways()
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.GetDlProviderGateways(ctx, &ibm.GetDlProviderGatewaysArgs{}, 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 dsDlproviderGateways = Ibm.GetDlProviderGateways.Invoke();
});
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.GetDlProviderGatewaysArgs;
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 dsDlproviderGateways = IbmFunctions.getDlProviderGateways();
    }
}
variables:
  dsDlproviderGateways:
    fn::invoke:
      function: ibm:getDlProviderGateways
      arguments: {}
Using getDlProviderGateways
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 getDlProviderGateways(args: GetDlProviderGatewaysArgs, opts?: InvokeOptions): Promise<GetDlProviderGatewaysResult>
function getDlProviderGatewaysOutput(args: GetDlProviderGatewaysOutputArgs, opts?: InvokeOptions): Output<GetDlProviderGatewaysResult>def get_dl_provider_gateways(id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetDlProviderGatewaysResult
def get_dl_provider_gateways_output(id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetDlProviderGatewaysResult]func GetDlProviderGateways(ctx *Context, args *GetDlProviderGatewaysArgs, opts ...InvokeOption) (*GetDlProviderGatewaysResult, error)
func GetDlProviderGatewaysOutput(ctx *Context, args *GetDlProviderGatewaysOutputArgs, opts ...InvokeOption) GetDlProviderGatewaysResultOutput> Note: This function is named GetDlProviderGateways in the Go SDK.
public static class GetDlProviderGateways 
{
    public static Task<GetDlProviderGatewaysResult> InvokeAsync(GetDlProviderGatewaysArgs args, InvokeOptions? opts = null)
    public static Output<GetDlProviderGatewaysResult> Invoke(GetDlProviderGatewaysInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDlProviderGatewaysResult> getDlProviderGateways(GetDlProviderGatewaysArgs args, InvokeOptions options)
public static Output<GetDlProviderGatewaysResult> getDlProviderGateways(GetDlProviderGatewaysArgs args, InvokeOptions options)
fn::invoke:
  function: ibm:index/getDlProviderGateways:getDlProviderGateways
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
 - (String) The unique identifier of the gateway.
 
- Id string
 - (String) The unique identifier of the gateway.
 
- id String
 - (String) The unique identifier of the gateway.
 
- id string
 - (String) The unique identifier of the gateway.
 
- id str
 - (String) The unique identifier of the gateway.
 
- id String
 - (String) The unique identifier of the gateway.
 
getDlProviderGateways Result
The following output properties are available:
- Gateways
List<Get
Dl Provider Gateways Gateway>  - (List) List of all the Direct Link ports.List of all Direct Link provider gateways in the IBM Cloud Infrastructure.
 - Id string
 - (String) The unique identifier of the gateway.
 
- Gateways
[]Get
Dl Provider Gateways Gateway  - (List) List of all the Direct Link ports.List of all Direct Link provider gateways in the IBM Cloud Infrastructure.
 - Id string
 - (String) The unique identifier of the gateway.
 
- gateways
List<Get
Dl Provider Gateways Gateway>  - (List) List of all the Direct Link ports.List of all Direct Link provider gateways in the IBM Cloud Infrastructure.
 - id String
 - (String) The unique identifier of the gateway.
 
- gateways
Get
Dl Provider Gateways Gateway[]  - (List) List of all the Direct Link ports.List of all Direct Link provider gateways in the IBM Cloud Infrastructure.
 - id string
 - (String) The unique identifier of the gateway.
 
- gateways
Sequence[Get
Dl Provider Gateways Gateway]  - (List) List of all the Direct Link ports.List of all Direct Link provider gateways in the IBM Cloud Infrastructure.
 - id str
 - (String) The unique identifier of the gateway.
 
- gateways List<Property Map>
 - (List) List of all the Direct Link ports.List of all Direct Link provider gateways in the IBM Cloud Infrastructure.
 - id String
 - (String) The unique identifier of the gateway.
 
Supporting Types
GetDlProviderGatewaysGateway    
- Bgp
Asn double - (String) The customer BGP ASN.
 - Bgp
Cer stringCidr  - (String) The BGP customer edge router CIDR.
 - Bgp
Ibm doubleAsn  - (String) The IBM BGP ASN.
 - Bgp
Ibm stringCidr  - (String) The IBM BGP CIDR.
 - Bgp
Status string - (String) The gateway BGP status.
 - Change
Request string - Created
At string - (String) The date and time resource was created.
 - Crn string
 - (String) The CRN of the gateway.
 - Customer
Account stringId  - Id string
 - (String) The unique identifier of the gateway.
 - Name string
 - (String) The unique user defined name for the gateway.
 - Operational
Status string - (String) The operational status of the gateway.
 - Port string
 - (String) The port identifier.
 - Provider
Api boolManaged  - (String) Indicates whether gateway was created through a provider portal. If set true, gateway can only be changed or deleted through the corresponding provider portal.
 - Resource
Group string - (String) The resource group identifier.
 - Speed
Mbps double - (String) The gateway speed in megabits per second.
 - Type string
 - (String) The gateway type.
 - Vlan double
 - (String) The VLAN allocated for the gateway. Only set for 
type=connectgateways created directly through the IBM portal. 
- Bgp
Asn float64 - (String) The customer BGP ASN.
 - Bgp
Cer stringCidr  - (String) The BGP customer edge router CIDR.
 - Bgp
Ibm float64Asn  - (String) The IBM BGP ASN.
 - Bgp
Ibm stringCidr  - (String) The IBM BGP CIDR.
 - Bgp
Status string - (String) The gateway BGP status.
 - Change
Request string - Created
At string - (String) The date and time resource was created.
 - Crn string
 - (String) The CRN of the gateway.
 - Customer
Account stringId  - Id string
 - (String) The unique identifier of the gateway.
 - Name string
 - (String) The unique user defined name for the gateway.
 - Operational
Status string - (String) The operational status of the gateway.
 - Port string
 - (String) The port identifier.
 - Provider
Api boolManaged  - (String) Indicates whether gateway was created through a provider portal. If set true, gateway can only be changed or deleted through the corresponding provider portal.
 - Resource
Group string - (String) The resource group identifier.
 - Speed
Mbps float64 - (String) The gateway speed in megabits per second.
 - Type string
 - (String) The gateway type.
 - Vlan float64
 - (String) The VLAN allocated for the gateway. Only set for 
type=connectgateways created directly through the IBM portal. 
- bgp
Asn Double - (String) The customer BGP ASN.
 - bgp
Cer StringCidr  - (String) The BGP customer edge router CIDR.
 - bgp
Ibm DoubleAsn  - (String) The IBM BGP ASN.
 - bgp
Ibm StringCidr  - (String) The IBM BGP CIDR.
 - bgp
Status String - (String) The gateway BGP status.
 - change
Request String - created
At String - (String) The date and time resource was created.
 - crn String
 - (String) The CRN of the gateway.
 - customer
Account StringId  - id String
 - (String) The unique identifier of the gateway.
 - name String
 - (String) The unique user defined name for the gateway.
 - operational
Status String - (String) The operational status of the gateway.
 - port String
 - (String) The port identifier.
 - provider
Api BooleanManaged  - (String) Indicates whether gateway was created through a provider portal. If set true, gateway can only be changed or deleted through the corresponding provider portal.
 - resource
Group String - (String) The resource group identifier.
 - speed
Mbps Double - (String) The gateway speed in megabits per second.
 - type String
 - (String) The gateway type.
 - vlan Double
 - (String) The VLAN allocated for the gateway. Only set for 
type=connectgateways created directly through the IBM portal. 
- bgp
Asn number - (String) The customer BGP ASN.
 - bgp
Cer stringCidr  - (String) The BGP customer edge router CIDR.
 - bgp
Ibm numberAsn  - (String) The IBM BGP ASN.
 - bgp
Ibm stringCidr  - (String) The IBM BGP CIDR.
 - bgp
Status string - (String) The gateway BGP status.
 - change
Request string - created
At string - (String) The date and time resource was created.
 - crn string
 - (String) The CRN of the gateway.
 - customer
Account stringId  - id string
 - (String) The unique identifier of the gateway.
 - name string
 - (String) The unique user defined name for the gateway.
 - operational
Status string - (String) The operational status of the gateway.
 - port string
 - (String) The port identifier.
 - provider
Api booleanManaged  - (String) Indicates whether gateway was created through a provider portal. If set true, gateway can only be changed or deleted through the corresponding provider portal.
 - resource
Group string - (String) The resource group identifier.
 - speed
Mbps number - (String) The gateway speed in megabits per second.
 - type string
 - (String) The gateway type.
 - vlan number
 - (String) The VLAN allocated for the gateway. Only set for 
type=connectgateways created directly through the IBM portal. 
- bgp_
asn float - (String) The customer BGP ASN.
 - bgp_
cer_ strcidr  - (String) The BGP customer edge router CIDR.
 - bgp_
ibm_ floatasn  - (String) The IBM BGP ASN.
 - bgp_
ibm_ strcidr  - (String) The IBM BGP CIDR.
 - bgp_
status str - (String) The gateway BGP status.
 - change_
request str - created_
at str - (String) The date and time resource was created.
 - crn str
 - (String) The CRN of the gateway.
 - customer_
account_ strid  - id str
 - (String) The unique identifier of the gateway.
 - name str
 - (String) The unique user defined name for the gateway.
 - operational_
status str - (String) The operational status of the gateway.
 - port str
 - (String) The port identifier.
 - provider_
api_ boolmanaged  - (String) Indicates whether gateway was created through a provider portal. If set true, gateway can only be changed or deleted through the corresponding provider portal.
 - resource_
group str - (String) The resource group identifier.
 - speed_
mbps float - (String) The gateway speed in megabits per second.
 - type str
 - (String) The gateway type.
 - vlan float
 - (String) The VLAN allocated for the gateway. Only set for 
type=connectgateways created directly through the IBM portal. 
- bgp
Asn Number - (String) The customer BGP ASN.
 - bgp
Cer StringCidr  - (String) The BGP customer edge router CIDR.
 - bgp
Ibm NumberAsn  - (String) The IBM BGP ASN.
 - bgp
Ibm StringCidr  - (String) The IBM BGP CIDR.
 - bgp
Status String - (String) The gateway BGP status.
 - change
Request String - created
At String - (String) The date and time resource was created.
 - crn String
 - (String) The CRN of the gateway.
 - customer
Account StringId  - id String
 - (String) The unique identifier of the gateway.
 - name String
 - (String) The unique user defined name for the gateway.
 - operational
Status String - (String) The operational status of the gateway.
 - port String
 - (String) The port identifier.
 - provider
Api BooleanManaged  - (String) Indicates whether gateway was created through a provider portal. If set true, gateway can only be changed or deleted through the corresponding provider portal.
 - resource
Group String - (String) The resource group identifier.
 - speed
Mbps Number - (String) The gateway speed in megabits per second.
 - type String
 - (String) The gateway type.
 - vlan Number
 - (String) The VLAN allocated for the gateway. Only set for 
type=connectgateways created directly through the IBM portal. 
Package Details
- Repository
 - ibm ibm-cloud/terraform-provider-ibm
 - License
 - Notes
 - This Pulumi package is based on the 
ibmTerraform Provider.