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
To Create Direct Link Of Dedicated Type
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,
});
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)
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
})
}
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,
});
});
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());
}
}
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
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 string
- The unique name of the resource.
- args DlProviderGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args DlProviderGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DlProviderGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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,
});
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),
})
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());
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)
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,
});
type: ibm:DlProviderGateway
properties:
bgpAsn: 0
bgpCerCidr: string
bgpIbmCidr: string
customerAccountId: string
dlProviderGatewayId: string
name: string
port: string
speedMbps: 0
tags:
- string
vlan: 0
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:
- Bgp
Asn double - The BGP ASN of the gateway to be created. For example,
64999
. - Customer
Account stringId - 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 string
- The gateway port for type to connect gateway.
- Speed
Mbps double - The gateway speed in megabits per second. For example,
10.254.30.78/30
. - Bgp
Cer stringCidr - 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 stringCidr - 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 stringGateway Id - (String) The unique ID of the gateway.
- Name string
- The unique user-defined name for this gateway. Example:
myGateway
. - List<string>
- Tags for the direct link gateway
- Vlan double
- VLAN requested for this gateway.
- Bgp
Asn float64 - The BGP ASN of the gateway to be created. For example,
64999
. - Customer
Account stringId - 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 string
- The gateway port for type to connect gateway.
- Speed
Mbps float64 - The gateway speed in megabits per second. For example,
10.254.30.78/30
. - Bgp
Cer stringCidr - 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 stringCidr - 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 stringGateway Id - (String) The unique ID of the gateway.
- Name string
- The unique user-defined name for this gateway. Example:
myGateway
. - []string
- Tags for the direct link gateway
- Vlan float64
- VLAN requested for this gateway.
- bgp
Asn Double - The BGP ASN of the gateway to be created. For example,
64999
. - customer
Account StringId - 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 String
- The gateway port for type to connect gateway.
- speed
Mbps Double - The gateway speed in megabits per second. For example,
10.254.30.78/30
. - bgp
Cer StringCidr - 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 StringCidr - 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 StringGateway Id - (String) The unique ID of the gateway.
- name String
- The unique user-defined name for this gateway. Example:
myGateway
. - List<String>
- Tags for the direct link gateway
- vlan Double
- VLAN requested for this gateway.
- bgp
Asn number - The BGP ASN of the gateway to be created. For example,
64999
. - customer
Account stringId - 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 string
- The gateway port for type to connect gateway.
- speed
Mbps number - The gateway speed in megabits per second. For example,
10.254.30.78/30
. - bgp
Cer stringCidr - 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 stringCidr - 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 stringGateway Id - (String) The unique ID of the gateway.
- name string
- The unique user-defined name for this gateway. Example:
myGateway
. - string[]
- Tags for the direct link gateway
- vlan number
- VLAN requested for this gateway.
- bgp_
asn float - The BGP ASN of the gateway to be created. For example,
64999
. - customer_
account_ strid - 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 str
- The gateway port for type to connect gateway.
- speed_
mbps float - The gateway speed in megabits per second. For example,
10.254.30.78/30
. - bgp_
cer_ strcidr - 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_ strcidr - 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_ strgateway_ id - (String) The unique ID of the gateway.
- name str
- The unique user-defined name for this gateway. Example:
myGateway
. - Sequence[str]
- Tags for the direct link gateway
- vlan float
- VLAN requested for this gateway.
- bgp
Asn Number - The BGP ASN of the gateway to be created. For example,
64999
. - customer
Account StringId - 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 String
- The gateway port for type to connect gateway.
- speed
Mbps Number - The gateway speed in megabits per second. For example,
10.254.30.78/30
. - bgp
Cer StringCidr - 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 StringCidr - 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 StringGateway Id - (String) The unique ID of the gateway.
- name String
- The unique user-defined name for this gateway. Example:
myGateway
. - 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:
- Bgp
Ibm doubleAsn - IBM BGP ASN
- Bgp
Status string - (String) The gateway BGP status.
- Created
At 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.
- Operational
Status string - (String) The gateway operational status. Supported values are
configuring
,create_pending
,create_rejected
,delete_pending
,provisioned
. - Provider
Api boolManaged - (String) Indicates whether the gateway changes need to be made via a provider portal.
- Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Crn string - The crn of the resource
- Resource
Group stringName - The resource group name in which resource is provisioned
- Resource
Name string - The name of the resource
- Resource
Status string - The status of the resource
- Type string
- Gateway type
- Bgp
Ibm float64Asn - IBM BGP ASN
- Bgp
Status string - (String) The gateway BGP status.
- Created
At 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.
- Operational
Status string - (String) The gateway operational status. Supported values are
configuring
,create_pending
,create_rejected
,delete_pending
,provisioned
. - Provider
Api boolManaged - (String) Indicates whether the gateway changes need to be made via a provider portal.
- Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Crn string - The crn of the resource
- Resource
Group stringName - The resource group name in which resource is provisioned
- Resource
Name string - The name of the resource
- Resource
Status string - The status of the resource
- Type string
- Gateway type
- bgp
Ibm DoubleAsn - IBM BGP ASN
- bgp
Status String - (String) The gateway BGP status.
- created
At 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.
- operational
Status String - (String) The gateway operational status. Supported values are
configuring
,create_pending
,create_rejected
,delete_pending
,provisioned
. - provider
Api BooleanManaged - (String) Indicates whether the gateway changes need to be made via a provider portal.
- resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn String - The crn of the resource
- resource
Group StringName - The resource group name in which resource is provisioned
- resource
Name String - The name of the resource
- resource
Status String - The status of the resource
- type String
- Gateway type
- bgp
Ibm numberAsn - IBM BGP ASN
- bgp
Status string - (String) The gateway BGP status.
- created
At 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.
- operational
Status string - (String) The gateway operational status. Supported values are
configuring
,create_pending
,create_rejected
,delete_pending
,provisioned
. - provider
Api booleanManaged - (String) Indicates whether the gateway changes need to be made via a provider portal.
- resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn string - The crn of the resource
- resource
Group stringName - The resource group name in which resource is provisioned
- resource
Name string - The name of the resource
- resource
Status string - The status of the resource
- type string
- Gateway type
- bgp_
ibm_ floatasn - 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 are
configuring
,create_pending
,create_rejected
,delete_pending
,provisioned
. - provider_
api_ boolmanaged - (String) Indicates whether the gateway changes need to be made via a provider portal.
- resource_
controller_ strurl - 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_ strname - 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
- bgp
Ibm NumberAsn - IBM BGP ASN
- bgp
Status String - (String) The gateway BGP status.
- created
At 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.
- operational
Status String - (String) The gateway operational status. Supported values are
configuring
,create_pending
,create_rejected
,delete_pending
,provisioned
. - provider
Api BooleanManaged - (String) Indicates whether the gateway changes need to be made via a provider portal.
- resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn String - The crn of the resource
- resource
Group StringName - The resource group name in which resource is provisioned
- resource
Name String - The name of the resource
- resource
Status 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Bgp
Asn double - The BGP ASN of the gateway to be created. For example,
64999
. - Bgp
Cer stringCidr - 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 doubleAsn - IBM BGP ASN
- Bgp
Ibm stringCidr - 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 string - (String) The gateway BGP status.
- Created
At string - (String) The date and time resource created.
- Crn string
- (String) The CRN of the gateway.
- Customer
Account stringId - 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 stringGateway Id - (String) The unique ID of the gateway.
- Name string
- The unique user-defined name for this gateway. Example:
myGateway
. - Operational
Status string - (String) The gateway operational status. Supported values are
configuring
,create_pending
,create_rejected
,delete_pending
,provisioned
. - Port string
- The gateway port for type to connect gateway.
- Provider
Api boolManaged - (String) Indicates whether the gateway changes need to be made via a provider portal.
- Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Crn string - The crn of the resource
- Resource
Group stringName - The resource group name in which resource is provisioned
- Resource
Name string - The name of the resource
- Resource
Status string - The status of the resource
- Speed
Mbps double - The gateway speed in megabits per second. For example,
10.254.30.78/30
. - List<string>
- Tags for the direct link gateway
- Type string
- Gateway type
- Vlan double
- VLAN requested for this gateway.
- Bgp
Asn float64 - The BGP ASN of the gateway to be created. For example,
64999
. - Bgp
Cer stringCidr - 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 float64Asn - IBM BGP ASN
- Bgp
Ibm stringCidr - 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 string - (String) The gateway BGP status.
- Created
At string - (String) The date and time resource created.
- Crn string
- (String) The CRN of the gateway.
- Customer
Account stringId - 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 stringGateway Id - (String) The unique ID of the gateway.
- Name string
- The unique user-defined name for this gateway. Example:
myGateway
. - Operational
Status string - (String) The gateway operational status. Supported values are
configuring
,create_pending
,create_rejected
,delete_pending
,provisioned
. - Port string
- The gateway port for type to connect gateway.
- Provider
Api boolManaged - (String) Indicates whether the gateway changes need to be made via a provider portal.
- Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Crn string - The crn of the resource
- Resource
Group stringName - The resource group name in which resource is provisioned
- Resource
Name string - The name of the resource
- Resource
Status string - The status of the resource
- Speed
Mbps float64 - The gateway speed in megabits per second. For example,
10.254.30.78/30
. - []string
- Tags for the direct link gateway
- Type string
- Gateway type
- Vlan float64
- VLAN requested for this gateway.
- bgp
Asn Double - The BGP ASN of the gateway to be created. For example,
64999
. - bgp
Cer StringCidr - 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 DoubleAsn - IBM BGP ASN
- bgp
Ibm StringCidr - 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 String - (String) The gateway BGP status.
- created
At String - (String) The date and time resource created.
- crn String
- (String) The CRN of the gateway.
- customer
Account StringId - 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 StringGateway Id - (String) The unique ID of the gateway.
- name String
- The unique user-defined name for this gateway. Example:
myGateway
. - operational
Status String - (String) The gateway operational status. Supported values are
configuring
,create_pending
,create_rejected
,delete_pending
,provisioned
. - port String
- The gateway port for type to connect gateway.
- provider
Api BooleanManaged - (String) Indicates whether the gateway changes need to be made via a provider portal.
- resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn String - The crn of the resource
- resource
Group StringName - The resource group name in which resource is provisioned
- resource
Name String - The name of the resource
- resource
Status String - The status of the resource
- speed
Mbps Double - The gateway speed in megabits per second. For example,
10.254.30.78/30
. - List<String>
- Tags for the direct link gateway
- type String
- Gateway type
- vlan Double
- VLAN requested for this gateway.
- bgp
Asn number - The BGP ASN of the gateway to be created. For example,
64999
. - bgp
Cer stringCidr - 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 numberAsn - IBM BGP ASN
- bgp
Ibm stringCidr - 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 string - (String) The gateway BGP status.
- created
At string - (String) The date and time resource created.
- crn string
- (String) The CRN of the gateway.
- customer
Account stringId - 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 stringGateway Id - (String) The unique ID of the gateway.
- name string
- The unique user-defined name for this gateway. Example:
myGateway
. - operational
Status string - (String) The gateway operational status. Supported values are
configuring
,create_pending
,create_rejected
,delete_pending
,provisioned
. - port string
- The gateway port for type to connect gateway.
- provider
Api booleanManaged - (String) Indicates whether the gateway changes need to be made via a provider portal.
- resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn string - The crn of the resource
- resource
Group stringName - The resource group name in which resource is provisioned
- resource
Name string - The name of the resource
- resource
Status string - The status of the resource
- speed
Mbps number - The gateway speed in megabits per second. For example,
10.254.30.78/30
. - 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_ strcidr - 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_ floatasn - IBM BGP ASN
- bgp_
ibm_ strcidr - 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_ strid - 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_ strgateway_ id - (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 are
configuring
,create_pending
,create_rejected
,delete_pending
,provisioned
. - port str
- The gateway port for type to connect gateway.
- provider_
api_ boolmanaged - (String) Indicates whether the gateway changes need to be made via a provider portal.
- resource_
controller_ strurl - 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_ strname - 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
. - Sequence[str]
- Tags for the direct link gateway
- type str
- Gateway type
- vlan float
- VLAN requested for this gateway.
- bgp
Asn Number - The BGP ASN of the gateway to be created. For example,
64999
. - bgp
Cer StringCidr - 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 NumberAsn - IBM BGP ASN
- bgp
Ibm StringCidr - 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 String - (String) The gateway BGP status.
- created
At String - (String) The date and time resource created.
- crn String
- (String) The CRN of the gateway.
- customer
Account StringId - 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 StringGateway Id - (String) The unique ID of the gateway.
- name String
- The unique user-defined name for this gateway. Example:
myGateway
. - operational
Status String - (String) The gateway operational status. Supported values are
configuring
,create_pending
,create_rejected
,delete_pending
,provisioned
. - port String
- The gateway port for type to connect gateway.
- provider
Api BooleanManaged - (String) Indicates whether the gateway changes need to be made via a provider portal.
- resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn String - The crn of the resource
- resource
Group StringName - The resource group name in which resource is provisioned
- resource
Name String - The name of the resource
- resource
Status String - The status of the resource
- speed
Mbps Number - The gateway speed in megabits per second. For example,
10.254.30.78/30
. - 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>
Example
$ pulumi import ibm:index/dlProviderGateway:DlProviderGateway test_dl_provider_gateway 5ffda12064634723b079acdb018ef308
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.