1. Packages
  2. Ibm Provider
  3. API Docs
  4. DlProviderGateway
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.DlProviderGateway

Explore with Pulumi AI

Create, update, or delete a Direct Link Provider Gateway by using the Direct Link Provider Gateway resource. For more information, about Direct Link Provider Gateway, see about Direct Link.

Example Usage

In the following example, you can create Direct Link provider gateway:

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

const testDlProviderGateway = new ibm.DlProviderGateway("testDlProviderGateway", {
    bgpAsn: 64999,
    bgpCerCidr: "169.254.0.30/30",
    bgpIbmCidr: "169.254.0.29/30",
    customerAccountId: "0c474da-c749-4f1d-b190-2333",
    port: "434-c749-4f1d-b190-22",
    speedMbps: 1000,
    vlan: 35,
});
Copy
import pulumi
import pulumi_ibm as ibm

test_dl_provider_gateway = ibm.DlProviderGateway("testDlProviderGateway",
    bgp_asn=64999,
    bgp_cer_cidr="169.254.0.30/30",
    bgp_ibm_cidr="169.254.0.29/30",
    customer_account_id="0c474da-c749-4f1d-b190-2333",
    port="434-c749-4f1d-b190-22",
    speed_mbps=1000,
    vlan=35)
Copy
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.NewDlProviderGateway(ctx, "testDlProviderGateway", &ibm.DlProviderGatewayArgs{
			BgpAsn:            pulumi.Float64(64999),
			BgpCerCidr:        pulumi.String("169.254.0.30/30"),
			BgpIbmCidr:        pulumi.String("169.254.0.29/30"),
			CustomerAccountId: pulumi.String("0c474da-c749-4f1d-b190-2333"),
			Port:              pulumi.String("434-c749-4f1d-b190-22"),
			SpeedMbps:         pulumi.Float64(1000),
			Vlan:              pulumi.Float64(35),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;

return await Deployment.RunAsync(() => 
{
    var testDlProviderGateway = new Ibm.DlProviderGateway("testDlProviderGateway", new()
    {
        BgpAsn = 64999,
        BgpCerCidr = "169.254.0.30/30",
        BgpIbmCidr = "169.254.0.29/30",
        CustomerAccountId = "0c474da-c749-4f1d-b190-2333",
        Port = "434-c749-4f1d-b190-22",
        SpeedMbps = 1000,
        Vlan = 35,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.DlProviderGateway;
import com.pulumi.ibm.DlProviderGatewayArgs;
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) {
        var testDlProviderGateway = new DlProviderGateway("testDlProviderGateway", DlProviderGatewayArgs.builder()
            .bgpAsn(64999)
            .bgpCerCidr("169.254.0.30/30")
            .bgpIbmCidr("169.254.0.29/30")
            .customerAccountId("0c474da-c749-4f1d-b190-2333")
            .port("434-c749-4f1d-b190-22")
            .speedMbps(1000)
            .vlan(35)
            .build());

    }
}
Copy
resources:
  testDlProviderGateway:
    type: ibm:DlProviderGateway
    properties:
      bgpAsn: 64999
      bgpCerCidr: 169.254.0.30/30
      bgpIbmCidr: 169.254.0.29/30
      customerAccountId: 0c474da-c749-4f1d-b190-2333
      port: 434-c749-4f1d-b190-22
      speedMbps: 1000
      vlan: 35
Copy

Create DlProviderGateway Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DlProviderGateway(name: string, args: DlProviderGatewayArgs, opts?: CustomResourceOptions);
@overload
def DlProviderGateway(resource_name: str,
                      args: DlProviderGatewayArgs,
                      opts: Optional[ResourceOptions] = None)

@overload
def DlProviderGateway(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      bgp_asn: Optional[float] = None,
                      customer_account_id: Optional[str] = None,
                      port: Optional[str] = None,
                      speed_mbps: Optional[float] = None,
                      bgp_cer_cidr: Optional[str] = None,
                      bgp_ibm_cidr: Optional[str] = None,
                      dl_provider_gateway_id: Optional[str] = None,
                      name: Optional[str] = None,
                      tags: Optional[Sequence[str]] = None,
                      vlan: Optional[float] = None)
func NewDlProviderGateway(ctx *Context, name string, args DlProviderGatewayArgs, opts ...ResourceOption) (*DlProviderGateway, error)
public DlProviderGateway(string name, DlProviderGatewayArgs args, CustomResourceOptions? opts = null)
public DlProviderGateway(String name, DlProviderGatewayArgs args)
public DlProviderGateway(String name, DlProviderGatewayArgs args, CustomResourceOptions options)
type: ibm:DlProviderGateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DlProviderGatewayArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DlProviderGatewayArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DlProviderGatewayArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DlProviderGatewayArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DlProviderGatewayArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var dlProviderGatewayResource = new Ibm.DlProviderGateway("dlProviderGatewayResource", new()
{
    BgpAsn = 0,
    CustomerAccountId = "string",
    Port = "string",
    SpeedMbps = 0,
    BgpCerCidr = "string",
    BgpIbmCidr = "string",
    DlProviderGatewayId = "string",
    Name = "string",
    Tags = new[]
    {
        "string",
    },
    Vlan = 0,
});
Copy
example, err := ibm.NewDlProviderGateway(ctx, "dlProviderGatewayResource", &ibm.DlProviderGatewayArgs{
	BgpAsn:              pulumi.Float64(0),
	CustomerAccountId:   pulumi.String("string"),
	Port:                pulumi.String("string"),
	SpeedMbps:           pulumi.Float64(0),
	BgpCerCidr:          pulumi.String("string"),
	BgpIbmCidr:          pulumi.String("string"),
	DlProviderGatewayId: pulumi.String("string"),
	Name:                pulumi.String("string"),
	Tags: pulumi.StringArray{
		pulumi.String("string"),
	},
	Vlan: pulumi.Float64(0),
})
Copy
var dlProviderGatewayResource = new DlProviderGateway("dlProviderGatewayResource", DlProviderGatewayArgs.builder()
    .bgpAsn(0)
    .customerAccountId("string")
    .port("string")
    .speedMbps(0)
    .bgpCerCidr("string")
    .bgpIbmCidr("string")
    .dlProviderGatewayId("string")
    .name("string")
    .tags("string")
    .vlan(0)
    .build());
Copy
dl_provider_gateway_resource = ibm.DlProviderGateway("dlProviderGatewayResource",
    bgp_asn=0,
    customer_account_id="string",
    port="string",
    speed_mbps=0,
    bgp_cer_cidr="string",
    bgp_ibm_cidr="string",
    dl_provider_gateway_id="string",
    name="string",
    tags=["string"],
    vlan=0)
Copy
const dlProviderGatewayResource = new ibm.DlProviderGateway("dlProviderGatewayResource", {
    bgpAsn: 0,
    customerAccountId: "string",
    port: "string",
    speedMbps: 0,
    bgpCerCidr: "string",
    bgpIbmCidr: "string",
    dlProviderGatewayId: "string",
    name: "string",
    tags: ["string"],
    vlan: 0,
});
Copy
type: ibm:DlProviderGateway
properties:
    bgpAsn: 0
    bgpCerCidr: string
    bgpIbmCidr: string
    customerAccountId: string
    dlProviderGatewayId: string
    name: string
    port: string
    speedMbps: 0
    tags:
        - string
    vlan: 0
Copy

DlProviderGateway Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DlProviderGateway resource accepts the following input properties:

BgpAsn This property is required. double
The BGP ASN of the gateway to be created. For example, 64999.
CustomerAccountId This property is required. string
The customer IBM Cloud account ID for the new gateway. A gateway object contains the pending create request to be available in the specified account.
Port This property is required. string
The gateway port for type to connect gateway.
SpeedMbps This property is required. double
The gateway speed in megabits per second. For example, 10.254.30.78/30.
BgpCerCidr string
The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.78/30.
BgpIbmCidr string
The IBM BGP CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.77/30.
DlProviderGatewayId string
(String) The unique ID of the gateway.
Name string
The unique user-defined name for this gateway. Example: myGateway.
Tags List<string>
Tags for the direct link gateway
Vlan double
VLAN requested for this gateway.
BgpAsn This property is required. float64
The BGP ASN of the gateway to be created. For example, 64999.
CustomerAccountId This property is required. string
The customer IBM Cloud account ID for the new gateway. A gateway object contains the pending create request to be available in the specified account.
Port This property is required. string
The gateway port for type to connect gateway.
SpeedMbps This property is required. float64
The gateway speed in megabits per second. For example, 10.254.30.78/30.
BgpCerCidr string
The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.78/30.
BgpIbmCidr string
The IBM BGP CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.77/30.
DlProviderGatewayId string
(String) The unique ID of the gateway.
Name string
The unique user-defined name for this gateway. Example: myGateway.
Tags []string
Tags for the direct link gateway
Vlan float64
VLAN requested for this gateway.
bgpAsn This property is required. Double
The BGP ASN of the gateway to be created. For example, 64999.
customerAccountId This property is required. String
The customer IBM Cloud account ID for the new gateway. A gateway object contains the pending create request to be available in the specified account.
port This property is required. String
The gateway port for type to connect gateway.
speedMbps This property is required. Double
The gateway speed in megabits per second. For example, 10.254.30.78/30.
bgpCerCidr String
The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.78/30.
bgpIbmCidr String
The IBM BGP CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.77/30.
dlProviderGatewayId String
(String) The unique ID of the gateway.
name String
The unique user-defined name for this gateway. Example: myGateway.
tags List<String>
Tags for the direct link gateway
vlan Double
VLAN requested for this gateway.
bgpAsn This property is required. number
The BGP ASN of the gateway to be created. For example, 64999.
customerAccountId This property is required. string
The customer IBM Cloud account ID for the new gateway. A gateway object contains the pending create request to be available in the specified account.
port This property is required. string
The gateway port for type to connect gateway.
speedMbps This property is required. number
The gateway speed in megabits per second. For example, 10.254.30.78/30.
bgpCerCidr string
The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.78/30.
bgpIbmCidr string
The IBM BGP CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.77/30.
dlProviderGatewayId string
(String) The unique ID of the gateway.
name string
The unique user-defined name for this gateway. Example: myGateway.
tags string[]
Tags for the direct link gateway
vlan number
VLAN requested for this gateway.
bgp_asn This property is required. float
The BGP ASN of the gateway to be created. For example, 64999.
customer_account_id This property is required. str
The customer IBM Cloud account ID for the new gateway. A gateway object contains the pending create request to be available in the specified account.
port This property is required. str
The gateway port for type to connect gateway.
speed_mbps This property is required. float
The gateway speed in megabits per second. For example, 10.254.30.78/30.
bgp_cer_cidr str
The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.78/30.
bgp_ibm_cidr str
The IBM BGP CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.77/30.
dl_provider_gateway_id str
(String) The unique ID of the gateway.
name str
The unique user-defined name for this gateway. Example: myGateway.
tags Sequence[str]
Tags for the direct link gateway
vlan float
VLAN requested for this gateway.
bgpAsn This property is required. Number
The BGP ASN of the gateway to be created. For example, 64999.
customerAccountId This property is required. String
The customer IBM Cloud account ID for the new gateway. A gateway object contains the pending create request to be available in the specified account.
port This property is required. String
The gateway port for type to connect gateway.
speedMbps This property is required. Number
The gateway speed in megabits per second. For example, 10.254.30.78/30.
bgpCerCidr String
The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.78/30.
bgpIbmCidr String
The IBM BGP CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.77/30.
dlProviderGatewayId String
(String) The unique ID of the gateway.
name String
The unique user-defined name for this gateway. Example: myGateway.
tags List<String>
Tags for the direct link gateway
vlan Number
VLAN requested for this gateway.

Outputs

All input properties are implicitly available as output properties. Additionally, the DlProviderGateway resource produces the following output properties:

BgpIbmAsn double
IBM BGP ASN
BgpStatus string
(String) The gateway BGP status.
CreatedAt string
(String) The date and time resource created.
Crn string
(String) The CRN of the gateway.
Id string
The provider-assigned unique ID for this managed resource.
OperationalStatus string
(String) The gateway operational status. Supported values areconfiguring, create_pending, create_rejected, delete_pending, provisioned.
ProviderApiManaged bool
(String) Indicates whether the gateway changes need to be made via a provider portal.
ResourceControllerUrl string
The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
ResourceCrn string
The crn of the resource
ResourceGroupName string
The resource group name in which resource is provisioned
ResourceName string
The name of the resource
ResourceStatus string
The status of the resource
Type string
Gateway type
BgpIbmAsn float64
IBM BGP ASN
BgpStatus string
(String) The gateway BGP status.
CreatedAt string
(String) The date and time resource created.
Crn string
(String) The CRN of the gateway.
Id string
The provider-assigned unique ID for this managed resource.
OperationalStatus string
(String) The gateway operational status. Supported values areconfiguring, create_pending, create_rejected, delete_pending, provisioned.
ProviderApiManaged bool
(String) Indicates whether the gateway changes need to be made via a provider portal.
ResourceControllerUrl string
The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
ResourceCrn string
The crn of the resource
ResourceGroupName string
The resource group name in which resource is provisioned
ResourceName string
The name of the resource
ResourceStatus string
The status of the resource
Type string
Gateway type
bgpIbmAsn Double
IBM BGP ASN
bgpStatus String
(String) The gateway BGP status.
createdAt String
(String) The date and time resource created.
crn String
(String) The CRN of the gateway.
id String
The provider-assigned unique ID for this managed resource.
operationalStatus String
(String) The gateway operational status. Supported values areconfiguring, create_pending, create_rejected, delete_pending, provisioned.
providerApiManaged Boolean
(String) Indicates whether the gateway changes need to be made via a provider portal.
resourceControllerUrl String
The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
resourceCrn String
The crn of the resource
resourceGroupName String
The resource group name in which resource is provisioned
resourceName String
The name of the resource
resourceStatus String
The status of the resource
type String
Gateway type
bgpIbmAsn number
IBM BGP ASN
bgpStatus string
(String) The gateway BGP status.
createdAt string
(String) The date and time resource created.
crn string
(String) The CRN of the gateway.
id string
The provider-assigned unique ID for this managed resource.
operationalStatus string
(String) The gateway operational status. Supported values areconfiguring, create_pending, create_rejected, delete_pending, provisioned.
providerApiManaged boolean
(String) Indicates whether the gateway changes need to be made via a provider portal.
resourceControllerUrl string
The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
resourceCrn string
The crn of the resource
resourceGroupName string
The resource group name in which resource is provisioned
resourceName string
The name of the resource
resourceStatus string
The status of the resource
type string
Gateway type
bgp_ibm_asn float
IBM BGP ASN
bgp_status str
(String) The gateway BGP status.
created_at str
(String) The date and time resource created.
crn str
(String) The CRN of the gateway.
id str
The provider-assigned unique ID for this managed resource.
operational_status str
(String) The gateway operational status. Supported values areconfiguring, create_pending, create_rejected, delete_pending, provisioned.
provider_api_managed bool
(String) Indicates whether the gateway changes need to be made via a provider portal.
resource_controller_url str
The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
resource_crn str
The crn of the resource
resource_group_name str
The resource group name in which resource is provisioned
resource_name str
The name of the resource
resource_status str
The status of the resource
type str
Gateway type
bgpIbmAsn Number
IBM BGP ASN
bgpStatus String
(String) The gateway BGP status.
createdAt String
(String) The date and time resource created.
crn String
(String) The CRN of the gateway.
id String
The provider-assigned unique ID for this managed resource.
operationalStatus String
(String) The gateway operational status. Supported values areconfiguring, create_pending, create_rejected, delete_pending, provisioned.
providerApiManaged Boolean
(String) Indicates whether the gateway changes need to be made via a provider portal.
resourceControllerUrl String
The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
resourceCrn String
The crn of the resource
resourceGroupName String
The resource group name in which resource is provisioned
resourceName String
The name of the resource
resourceStatus String
The status of the resource
type String
Gateway type

Look up Existing DlProviderGateway Resource

Get an existing DlProviderGateway resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DlProviderGatewayState, opts?: CustomResourceOptions): DlProviderGateway
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        bgp_asn: Optional[float] = None,
        bgp_cer_cidr: Optional[str] = None,
        bgp_ibm_asn: Optional[float] = None,
        bgp_ibm_cidr: Optional[str] = None,
        bgp_status: Optional[str] = None,
        created_at: Optional[str] = None,
        crn: Optional[str] = None,
        customer_account_id: Optional[str] = None,
        dl_provider_gateway_id: Optional[str] = None,
        name: Optional[str] = None,
        operational_status: Optional[str] = None,
        port: Optional[str] = None,
        provider_api_managed: Optional[bool] = None,
        resource_controller_url: Optional[str] = None,
        resource_crn: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        resource_name: Optional[str] = None,
        resource_status: Optional[str] = None,
        speed_mbps: Optional[float] = None,
        tags: Optional[Sequence[str]] = None,
        type: Optional[str] = None,
        vlan: Optional[float] = None) -> DlProviderGateway
func GetDlProviderGateway(ctx *Context, name string, id IDInput, state *DlProviderGatewayState, opts ...ResourceOption) (*DlProviderGateway, error)
public static DlProviderGateway Get(string name, Input<string> id, DlProviderGatewayState? state, CustomResourceOptions? opts = null)
public static DlProviderGateway get(String name, Output<String> id, DlProviderGatewayState state, CustomResourceOptions options)
resources:  _:    type: ibm:DlProviderGateway    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
BgpAsn double
The BGP ASN of the gateway to be created. For example, 64999.
BgpCerCidr string
The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.78/30.
BgpIbmAsn double
IBM BGP ASN
BgpIbmCidr string
The IBM BGP CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.77/30.
BgpStatus string
(String) The gateway BGP status.
CreatedAt string
(String) The date and time resource created.
Crn string
(String) The CRN of the gateway.
CustomerAccountId string
The customer IBM Cloud account ID for the new gateway. A gateway object contains the pending create request to be available in the specified account.
DlProviderGatewayId string
(String) The unique ID of the gateway.
Name string
The unique user-defined name for this gateway. Example: myGateway.
OperationalStatus string
(String) The gateway operational status. Supported values areconfiguring, create_pending, create_rejected, delete_pending, provisioned.
Port string
The gateway port for type to connect gateway.
ProviderApiManaged bool
(String) Indicates whether the gateway changes need to be made via a provider portal.
ResourceControllerUrl string
The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
ResourceCrn string
The crn of the resource
ResourceGroupName string
The resource group name in which resource is provisioned
ResourceName string
The name of the resource
ResourceStatus string
The status of the resource
SpeedMbps double
The gateway speed in megabits per second. For example, 10.254.30.78/30.
Tags List<string>
Tags for the direct link gateway
Type string
Gateway type
Vlan double
VLAN requested for this gateway.
BgpAsn float64
The BGP ASN of the gateway to be created. For example, 64999.
BgpCerCidr string
The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.78/30.
BgpIbmAsn float64
IBM BGP ASN
BgpIbmCidr string
The IBM BGP CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.77/30.
BgpStatus string
(String) The gateway BGP status.
CreatedAt string
(String) The date and time resource created.
Crn string
(String) The CRN of the gateway.
CustomerAccountId string
The customer IBM Cloud account ID for the new gateway. A gateway object contains the pending create request to be available in the specified account.
DlProviderGatewayId string
(String) The unique ID of the gateway.
Name string
The unique user-defined name for this gateway. Example: myGateway.
OperationalStatus string
(String) The gateway operational status. Supported values areconfiguring, create_pending, create_rejected, delete_pending, provisioned.
Port string
The gateway port for type to connect gateway.
ProviderApiManaged bool
(String) Indicates whether the gateway changes need to be made via a provider portal.
ResourceControllerUrl string
The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
ResourceCrn string
The crn of the resource
ResourceGroupName string
The resource group name in which resource is provisioned
ResourceName string
The name of the resource
ResourceStatus string
The status of the resource
SpeedMbps float64
The gateway speed in megabits per second. For example, 10.254.30.78/30.
Tags []string
Tags for the direct link gateway
Type string
Gateway type
Vlan float64
VLAN requested for this gateway.
bgpAsn Double
The BGP ASN of the gateway to be created. For example, 64999.
bgpCerCidr String
The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.78/30.
bgpIbmAsn Double
IBM BGP ASN
bgpIbmCidr String
The IBM BGP CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.77/30.
bgpStatus String
(String) The gateway BGP status.
createdAt String
(String) The date and time resource created.
crn String
(String) The CRN of the gateway.
customerAccountId String
The customer IBM Cloud account ID for the new gateway. A gateway object contains the pending create request to be available in the specified account.
dlProviderGatewayId String
(String) The unique ID of the gateway.
name String
The unique user-defined name for this gateway. Example: myGateway.
operationalStatus String
(String) The gateway operational status. Supported values areconfiguring, create_pending, create_rejected, delete_pending, provisioned.
port String
The gateway port for type to connect gateway.
providerApiManaged Boolean
(String) Indicates whether the gateway changes need to be made via a provider portal.
resourceControllerUrl String
The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
resourceCrn String
The crn of the resource
resourceGroupName String
The resource group name in which resource is provisioned
resourceName String
The name of the resource
resourceStatus String
The status of the resource
speedMbps Double
The gateway speed in megabits per second. For example, 10.254.30.78/30.
tags List<String>
Tags for the direct link gateway
type String
Gateway type
vlan Double
VLAN requested for this gateway.
bgpAsn number
The BGP ASN of the gateway to be created. For example, 64999.
bgpCerCidr string
The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.78/30.
bgpIbmAsn number
IBM BGP ASN
bgpIbmCidr string
The IBM BGP CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.77/30.
bgpStatus string
(String) The gateway BGP status.
createdAt string
(String) The date and time resource created.
crn string
(String) The CRN of the gateway.
customerAccountId string
The customer IBM Cloud account ID for the new gateway. A gateway object contains the pending create request to be available in the specified account.
dlProviderGatewayId string
(String) The unique ID of the gateway.
name string
The unique user-defined name for this gateway. Example: myGateway.
operationalStatus string
(String) The gateway operational status. Supported values areconfiguring, create_pending, create_rejected, delete_pending, provisioned.
port string
The gateway port for type to connect gateway.
providerApiManaged boolean
(String) Indicates whether the gateway changes need to be made via a provider portal.
resourceControllerUrl string
The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
resourceCrn string
The crn of the resource
resourceGroupName string
The resource group name in which resource is provisioned
resourceName string
The name of the resource
resourceStatus string
The status of the resource
speedMbps number
The gateway speed in megabits per second. For example, 10.254.30.78/30.
tags string[]
Tags for the direct link gateway
type string
Gateway type
vlan number
VLAN requested for this gateway.
bgp_asn float
The BGP ASN of the gateway to be created. For example, 64999.
bgp_cer_cidr str
The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.78/30.
bgp_ibm_asn float
IBM BGP ASN
bgp_ibm_cidr str
The IBM BGP CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.77/30.
bgp_status str
(String) The gateway BGP status.
created_at str
(String) The date and time resource created.
crn str
(String) The CRN of the gateway.
customer_account_id str
The customer IBM Cloud account ID for the new gateway. A gateway object contains the pending create request to be available in the specified account.
dl_provider_gateway_id str
(String) The unique ID of the gateway.
name str
The unique user-defined name for this gateway. Example: myGateway.
operational_status str
(String) The gateway operational status. Supported values areconfiguring, create_pending, create_rejected, delete_pending, provisioned.
port str
The gateway port for type to connect gateway.
provider_api_managed bool
(String) Indicates whether the gateway changes need to be made via a provider portal.
resource_controller_url str
The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
resource_crn str
The crn of the resource
resource_group_name str
The resource group name in which resource is provisioned
resource_name str
The name of the resource
resource_status str
The status of the resource
speed_mbps float
The gateway speed in megabits per second. For example, 10.254.30.78/30.
tags Sequence[str]
Tags for the direct link gateway
type str
Gateway type
vlan float
VLAN requested for this gateway.
bgpAsn Number
The BGP ASN of the gateway to be created. For example, 64999.
bgpCerCidr String
The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.78/30.
bgpIbmAsn Number
IBM BGP ASN
bgpIbmCidr String
The IBM BGP CIDR. Specify a value within bgp_base_cidr. If bgp_base_cidr is 169.254.0.0/16, this parameter can exclude and a CIDR is selected automatically. For example, 10.254.30.77/30.
bgpStatus String
(String) The gateway BGP status.
createdAt String
(String) The date and time resource created.
crn String
(String) The CRN of the gateway.
customerAccountId String
The customer IBM Cloud account ID for the new gateway. A gateway object contains the pending create request to be available in the specified account.
dlProviderGatewayId String
(String) The unique ID of the gateway.
name String
The unique user-defined name for this gateway. Example: myGateway.
operationalStatus String
(String) The gateway operational status. Supported values areconfiguring, create_pending, create_rejected, delete_pending, provisioned.
port String
The gateway port for type to connect gateway.
providerApiManaged Boolean
(String) Indicates whether the gateway changes need to be made via a provider portal.
resourceControllerUrl String
The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
resourceCrn String
The crn of the resource
resourceGroupName String
The resource group name in which resource is provisioned
resourceName String
The name of the resource
resourceStatus String
The status of the resource
speedMbps Number
The gateway speed in megabits per second. For example, 10.254.30.78/30.
tags List<String>
Tags for the direct link gateway
type String
Gateway type
vlan Number
VLAN requested for this gateway.

Import

The ibm_dl_provider_gateway resource can be imported by using gateway ID.

Syntax

$ pulumi import ibm:index/dlProviderGateway:DlProviderGateway <gateway_ID> 
Copy

Example

$ pulumi import ibm:index/dlProviderGateway:DlProviderGateway test_dl_provider_gateway 5ffda12064634723b079acdb018ef308
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.