ibm.DlGateway
Explore with Pulumi AI
Create, update, or delete a Direct Link Gateway by using the Direct Link Gateway resource. For more information, see about Direct Link.
Example Usage
To Create Direct Link Of Dedicated Type
In the following example, you can create Direct Link of dedicated type:
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const testDlRouters = ibm.getDlRouters({
offeringType: "dedicated",
locationName: "dal10",
});
const testDlGateway = new ibm.DlGateway("testDlGateway", {
exportRouteFilters: [{
action: "deny",
prefix: "150.167.10.0/12",
ge: 19,
le: 29,
}],
importRouteFilters: [{
action: "permit",
prefix: "140.167.10.0/12",
ge: 17,
le: 30,
}],
defaultExportRouteFilter: "permit",
defaultImportRouteFilter: "deny",
bgpAsn: 64999,
global: true,
metered: false,
resourceGroup: "bf823d4f45b64ceaa4671bee0479346e",
speedMbps: 1000,
type: "dedicated",
crossConnectRouter: testDlRouters.then(testDlRouters => testDlRouters.crossConnectRouters?.[0]?.routerName),
locationName: testDlRouters.then(testDlRouters => testDlRouters.locationName),
customerName: "Customer1",
carrierName: "Carrier1",
vlan: 3965,
});
import pulumi
import pulumi_ibm as ibm
test_dl_routers = ibm.get_dl_routers(offering_type="dedicated",
location_name="dal10")
test_dl_gateway = ibm.DlGateway("testDlGateway",
export_route_filters=[{
"action": "deny",
"prefix": "150.167.10.0/12",
"ge": 19,
"le": 29,
}],
import_route_filters=[{
"action": "permit",
"prefix": "140.167.10.0/12",
"ge": 17,
"le": 30,
}],
default_export_route_filter="permit",
default_import_route_filter="deny",
bgp_asn=64999,
global_=True,
metered=False,
resource_group="bf823d4f45b64ceaa4671bee0479346e",
speed_mbps=1000,
type="dedicated",
cross_connect_router=test_dl_routers.cross_connect_routers[0].router_name,
location_name=test_dl_routers.location_name,
customer_name="Customer1",
carrier_name="Carrier1",
vlan=3965)
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 {
testDlRouters, err := ibm.GetDlRouters(ctx, &ibm.GetDlRoutersArgs{
OfferingType: "dedicated",
LocationName: "dal10",
}, nil)
if err != nil {
return err
}
_, err = ibm.NewDlGateway(ctx, "testDlGateway", &ibm.DlGatewayArgs{
ExportRouteFilters: ibm.DlGatewayExportRouteFilterArray{
&ibm.DlGatewayExportRouteFilterArgs{
Action: pulumi.String("deny"),
Prefix: pulumi.String("150.167.10.0/12"),
Ge: pulumi.Float64(19),
Le: pulumi.Float64(29),
},
},
ImportRouteFilters: ibm.DlGatewayImportRouteFilterArray{
&ibm.DlGatewayImportRouteFilterArgs{
Action: pulumi.String("permit"),
Prefix: pulumi.String("140.167.10.0/12"),
Ge: pulumi.Float64(17),
Le: pulumi.Float64(30),
},
},
DefaultExportRouteFilter: pulumi.String("permit"),
DefaultImportRouteFilter: pulumi.String("deny"),
BgpAsn: pulumi.Float64(64999),
Global: pulumi.Bool(true),
Metered: pulumi.Bool(false),
ResourceGroup: pulumi.String("bf823d4f45b64ceaa4671bee0479346e"),
SpeedMbps: pulumi.Float64(1000),
Type: pulumi.String("dedicated"),
CrossConnectRouter: pulumi.String(testDlRouters.CrossConnectRouters[0].RouterName),
LocationName: pulumi.String(testDlRouters.LocationName),
CustomerName: pulumi.String("Customer1"),
CarrierName: pulumi.String("Carrier1"),
Vlan: pulumi.Float64(3965),
})
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 testDlRouters = Ibm.GetDlRouters.Invoke(new()
{
OfferingType = "dedicated",
LocationName = "dal10",
});
var testDlGateway = new Ibm.DlGateway("testDlGateway", new()
{
ExportRouteFilters = new[]
{
new Ibm.Inputs.DlGatewayExportRouteFilterArgs
{
Action = "deny",
Prefix = "150.167.10.0/12",
Ge = 19,
Le = 29,
},
},
ImportRouteFilters = new[]
{
new Ibm.Inputs.DlGatewayImportRouteFilterArgs
{
Action = "permit",
Prefix = "140.167.10.0/12",
Ge = 17,
Le = 30,
},
},
DefaultExportRouteFilter = "permit",
DefaultImportRouteFilter = "deny",
BgpAsn = 64999,
Global = true,
Metered = false,
ResourceGroup = "bf823d4f45b64ceaa4671bee0479346e",
SpeedMbps = 1000,
Type = "dedicated",
CrossConnectRouter = testDlRouters.Apply(getDlRoutersResult => getDlRoutersResult.CrossConnectRouters[0]?.RouterName),
LocationName = testDlRouters.Apply(getDlRoutersResult => getDlRoutersResult.LocationName),
CustomerName = "Customer1",
CarrierName = "Carrier1",
Vlan = 3965,
});
});
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.GetDlRoutersArgs;
import com.pulumi.ibm.DlGateway;
import com.pulumi.ibm.DlGatewayArgs;
import com.pulumi.ibm.inputs.DlGatewayExportRouteFilterArgs;
import com.pulumi.ibm.inputs.DlGatewayImportRouteFilterArgs;
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 testDlRouters = IbmFunctions.getDlRouters(GetDlRoutersArgs.builder()
.offeringType("dedicated")
.locationName("dal10")
.build());
var testDlGateway = new DlGateway("testDlGateway", DlGatewayArgs.builder()
.exportRouteFilters(DlGatewayExportRouteFilterArgs.builder()
.action("deny")
.prefix("150.167.10.0/12")
.ge(19)
.le(29)
.build())
.importRouteFilters(DlGatewayImportRouteFilterArgs.builder()
.action("permit")
.prefix("140.167.10.0/12")
.ge(17)
.le(30)
.build())
.defaultExportRouteFilter("permit")
.defaultImportRouteFilter("deny")
.bgpAsn(64999)
.global(true)
.metered(false)
.resourceGroup("bf823d4f45b64ceaa4671bee0479346e")
.speedMbps(1000)
.type("dedicated")
.crossConnectRouter(testDlRouters.applyValue(getDlRoutersResult -> getDlRoutersResult.crossConnectRouters()[0].routerName()))
.locationName(testDlRouters.applyValue(getDlRoutersResult -> getDlRoutersResult.locationName()))
.customerName("Customer1")
.carrierName("Carrier1")
.vlan(3965)
.build());
}
}
resources:
testDlGateway:
type: ibm:DlGateway
properties:
exportRouteFilters:
- action: deny
prefix: 150.167.10.0/12
ge: 19
le: 29
importRouteFilters:
- action: permit
prefix: 140.167.10.0/12
ge: 17
le: 30
defaultExportRouteFilter: permit
defaultImportRouteFilter: deny
bgpAsn: 64999
global: true
metered: false
resourceGroup: bf823d4f45b64ceaa4671bee0479346e
speedMbps: 1000
type: dedicated
crossConnectRouter: ${testDlRouters.crossConnectRouters[0].routerName}
locationName: ${testDlRouters.locationName}
customerName: Customer1
carrierName: Carrier1
vlan: 3965 #remove_vlan=false
variables:
testDlRouters:
fn::invoke:
function: ibm:getDlRouters
arguments:
offeringType: dedicated
locationName: dal10
Sample usage to create Direct Link of connect type
In the following example, you can create Direct Link of connect type:
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const testDsDlPorts = ibm.getDlPorts({});
const testDlConnect = new ibm.DlGateway("testDlConnect", {
asPrepends: [
{
length: 3,
policy: "import",
specificPrefixes: ["10.10.9.0/24"],
},
{
length: 3,
policy: "export",
specificPrefixes: [
"10.10.9.0/24",
"10.10.10.0/24",
],
},
],
exportRouteFilters: [{
action: "deny",
prefix: "150.167.10.0/12",
ge: 19,
le: 29,
}],
importRouteFilters: [{
action: "permit",
prefix: "140.167.10.0/12",
ge: 17,
le: 30,
}],
defaultExportRouteFilter: "permit",
defaultImportRouteFilter: "deny",
bgpAsn: 64999,
global: true,
metered: false,
speedMbps: 1000,
type: "connect",
port: testDsDlPorts.then(testDsDlPorts => testDsDlPorts.ports?.[0]?.portId),
});
import pulumi
import pulumi_ibm as ibm
test_ds_dl_ports = ibm.get_dl_ports()
test_dl_connect = ibm.DlGateway("testDlConnect",
as_prepends=[
{
"length": 3,
"policy": "import",
"specific_prefixes": ["10.10.9.0/24"],
},
{
"length": 3,
"policy": "export",
"specific_prefixes": [
"10.10.9.0/24",
"10.10.10.0/24",
],
},
],
export_route_filters=[{
"action": "deny",
"prefix": "150.167.10.0/12",
"ge": 19,
"le": 29,
}],
import_route_filters=[{
"action": "permit",
"prefix": "140.167.10.0/12",
"ge": 17,
"le": 30,
}],
default_export_route_filter="permit",
default_import_route_filter="deny",
bgp_asn=64999,
global_=True,
metered=False,
speed_mbps=1000,
type="connect",
port=test_ds_dl_ports.ports[0].port_id)
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 {
testDsDlPorts, err := ibm.GetDlPorts(ctx, &ibm.GetDlPortsArgs{}, nil)
if err != nil {
return err
}
_, err = ibm.NewDlGateway(ctx, "testDlConnect", &ibm.DlGatewayArgs{
AsPrepends: ibm.DlGatewayAsPrependArray{
&ibm.DlGatewayAsPrependArgs{
Length: pulumi.Float64(3),
Policy: pulumi.String("import"),
SpecificPrefixes: pulumi.StringArray{
pulumi.String("10.10.9.0/24"),
},
},
&ibm.DlGatewayAsPrependArgs{
Length: pulumi.Float64(3),
Policy: pulumi.String("export"),
SpecificPrefixes: pulumi.StringArray{
pulumi.String("10.10.9.0/24"),
pulumi.String("10.10.10.0/24"),
},
},
},
ExportRouteFilters: ibm.DlGatewayExportRouteFilterArray{
&ibm.DlGatewayExportRouteFilterArgs{
Action: pulumi.String("deny"),
Prefix: pulumi.String("150.167.10.0/12"),
Ge: pulumi.Float64(19),
Le: pulumi.Float64(29),
},
},
ImportRouteFilters: ibm.DlGatewayImportRouteFilterArray{
&ibm.DlGatewayImportRouteFilterArgs{
Action: pulumi.String("permit"),
Prefix: pulumi.String("140.167.10.0/12"),
Ge: pulumi.Float64(17),
Le: pulumi.Float64(30),
},
},
DefaultExportRouteFilter: pulumi.String("permit"),
DefaultImportRouteFilter: pulumi.String("deny"),
BgpAsn: pulumi.Float64(64999),
Global: pulumi.Bool(true),
Metered: pulumi.Bool(false),
SpeedMbps: pulumi.Float64(1000),
Type: pulumi.String("connect"),
Port: pulumi.String(testDsDlPorts.Ports[0].PortId),
})
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 testDsDlPorts = Ibm.GetDlPorts.Invoke();
var testDlConnect = new Ibm.DlGateway("testDlConnect", new()
{
AsPrepends = new[]
{
new Ibm.Inputs.DlGatewayAsPrependArgs
{
Length = 3,
Policy = "import",
SpecificPrefixes = new[]
{
"10.10.9.0/24",
},
},
new Ibm.Inputs.DlGatewayAsPrependArgs
{
Length = 3,
Policy = "export",
SpecificPrefixes = new[]
{
"10.10.9.0/24",
"10.10.10.0/24",
},
},
},
ExportRouteFilters = new[]
{
new Ibm.Inputs.DlGatewayExportRouteFilterArgs
{
Action = "deny",
Prefix = "150.167.10.0/12",
Ge = 19,
Le = 29,
},
},
ImportRouteFilters = new[]
{
new Ibm.Inputs.DlGatewayImportRouteFilterArgs
{
Action = "permit",
Prefix = "140.167.10.0/12",
Ge = 17,
Le = 30,
},
},
DefaultExportRouteFilter = "permit",
DefaultImportRouteFilter = "deny",
BgpAsn = 64999,
Global = true,
Metered = false,
SpeedMbps = 1000,
Type = "connect",
Port = testDsDlPorts.Apply(getDlPortsResult => getDlPortsResult.Ports[0]?.PortId),
});
});
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.GetDlPortsArgs;
import com.pulumi.ibm.DlGateway;
import com.pulumi.ibm.DlGatewayArgs;
import com.pulumi.ibm.inputs.DlGatewayAsPrependArgs;
import com.pulumi.ibm.inputs.DlGatewayExportRouteFilterArgs;
import com.pulumi.ibm.inputs.DlGatewayImportRouteFilterArgs;
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 testDsDlPorts = IbmFunctions.getDlPorts();
var testDlConnect = new DlGateway("testDlConnect", DlGatewayArgs.builder()
.asPrepends(
DlGatewayAsPrependArgs.builder()
.length(3)
.policy("import")
.specificPrefixes("10.10.9.0/24")
.build(),
DlGatewayAsPrependArgs.builder()
.length(3)
.policy("export")
.specificPrefixes(
"10.10.9.0/24",
"10.10.10.0/24")
.build())
.exportRouteFilters(DlGatewayExportRouteFilterArgs.builder()
.action("deny")
.prefix("150.167.10.0/12")
.ge(19)
.le(29)
.build())
.importRouteFilters(DlGatewayImportRouteFilterArgs.builder()
.action("permit")
.prefix("140.167.10.0/12")
.ge(17)
.le(30)
.build())
.defaultExportRouteFilter("permit")
.defaultImportRouteFilter("deny")
.bgpAsn(64999)
.global(true)
.metered(false)
.speedMbps(1000)
.type("connect")
.port(testDsDlPorts.applyValue(getDlPortsResult -> getDlPortsResult.ports()[0].portId()))
.build());
}
}
resources:
testDlConnect:
type: ibm:DlGateway
properties:
asPrepends:
- length: 3
policy: import
specificPrefixes:
- 10.10.9.0/24
- length: 3
policy: export
specificPrefixes:
- 10.10.9.0/24
- 10.10.10.0/24
exportRouteFilters:
- action: deny
prefix: 150.167.10.0/12
ge: 19
le: 29
importRouteFilters:
- action: permit
prefix: 140.167.10.0/12
ge: 17
le: 30
defaultExportRouteFilter: permit
defaultImportRouteFilter: deny
bgpAsn: 64999
global: true
metered: false
speedMbps: 1000
type: connect
port: ${testDsDlPorts.ports[0].portId}
variables:
testDsDlPorts:
fn::invoke:
function: ibm:getDlPorts
arguments: {}
Create DlGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DlGateway(name: string, args: DlGatewayArgs, opts?: CustomResourceOptions);
@overload
def DlGateway(resource_name: str,
args: DlGatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DlGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
bgp_asn: Optional[float] = None,
type: Optional[str] = None,
speed_mbps: Optional[float] = None,
metered: Optional[bool] = None,
global_: Optional[bool] = None,
dl_gateway_id: Optional[str] = None,
bfd_status: Optional[str] = None,
bgp_base_cidr: Optional[str] = None,
bgp_cer_cidr: Optional[str] = None,
bgp_ibm_cidr: Optional[str] = None,
carrier_name: Optional[str] = None,
connection_mode: Optional[str] = None,
cross_connect_router: Optional[str] = None,
customer_name: Optional[str] = None,
default_export_route_filter: Optional[str] = None,
default_import_route_filter: Optional[str] = None,
as_prepends: Optional[Sequence[DlGatewayAsPrependArgs]] = None,
export_route_filters: Optional[Sequence[DlGatewayExportRouteFilterArgs]] = None,
bfd_status_updated_at: Optional[str] = None,
import_route_filters: Optional[Sequence[DlGatewayImportRouteFilterArgs]] = None,
loa_reject_reason: Optional[str] = None,
location_name: Optional[str] = None,
macsec_config: Optional[DlGatewayMacsecConfigArgs] = None,
bfd_multiplier: Optional[float] = None,
name: Optional[str] = None,
port: Optional[str] = None,
remove_vlan: Optional[bool] = None,
resource_group: Optional[str] = None,
bfd_interval: Optional[float] = None,
tags: Optional[Sequence[str]] = None,
timeouts: Optional[DlGatewayTimeoutsArgs] = None,
authentication_key: Optional[str] = None,
vlan: Optional[float] = None)
func NewDlGateway(ctx *Context, name string, args DlGatewayArgs, opts ...ResourceOption) (*DlGateway, error)
public DlGateway(string name, DlGatewayArgs args, CustomResourceOptions? opts = null)
public DlGateway(String name, DlGatewayArgs args)
public DlGateway(String name, DlGatewayArgs args, CustomResourceOptions options)
type: ibm:DlGateway
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 DlGatewayArgs
- 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 DlGatewayArgs
- 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 DlGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DlGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DlGatewayArgs
- 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 dlGatewayResource = new Ibm.DlGateway("dlGatewayResource", new()
{
BgpAsn = 0,
Type = "string",
SpeedMbps = 0,
Metered = false,
Global = false,
DlGatewayId = "string",
BfdStatus = "string",
BgpBaseCidr = "string",
BgpCerCidr = "string",
BgpIbmCidr = "string",
CarrierName = "string",
ConnectionMode = "string",
CrossConnectRouter = "string",
CustomerName = "string",
DefaultExportRouteFilter = "string",
DefaultImportRouteFilter = "string",
AsPrepends = new[]
{
new Ibm.Inputs.DlGatewayAsPrependArgs
{
Length = 0,
Policy = "string",
CreatedAt = "string",
Id = "string",
SpecificPrefixes = new[]
{
"string",
},
UpdatedAt = "string",
},
},
ExportRouteFilters = new[]
{
new Ibm.Inputs.DlGatewayExportRouteFilterArgs
{
Action = "string",
Prefix = "string",
Before = "string",
CreatedAt = "string",
ExFilterId = "string",
Ge = 0,
Le = 0,
UpdatedAt = "string",
},
},
BfdStatusUpdatedAt = "string",
ImportRouteFilters = new[]
{
new Ibm.Inputs.DlGatewayImportRouteFilterArgs
{
Action = "string",
Prefix = "string",
Before = "string",
CreatedAt = "string",
Ge = 0,
ImFilterId = "string",
Le = 0,
UpdatedAt = "string",
},
},
LoaRejectReason = "string",
LocationName = "string",
MacsecConfig = new Ibm.Inputs.DlGatewayMacsecConfigArgs
{
Active = false,
PrimaryCak = "string",
ActiveCak = "string",
CipherSuite = "string",
ConfidentialityOffset = 0,
CryptographicAlgorithm = "string",
FallbackCak = "string",
KeyServerPriority = 0,
SakExpiryTime = 0,
SecurityPolicy = "string",
Status = "string",
WindowSize = 0,
},
BfdMultiplier = 0,
Name = "string",
Port = "string",
RemoveVlan = false,
ResourceGroup = "string",
BfdInterval = 0,
Tags = new[]
{
"string",
},
Timeouts = new Ibm.Inputs.DlGatewayTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
AuthenticationKey = "string",
Vlan = 0,
});
example, err := ibm.NewDlGateway(ctx, "dlGatewayResource", &ibm.DlGatewayArgs{
BgpAsn: pulumi.Float64(0),
Type: pulumi.String("string"),
SpeedMbps: pulumi.Float64(0),
Metered: pulumi.Bool(false),
Global: pulumi.Bool(false),
DlGatewayId: pulumi.String("string"),
BfdStatus: pulumi.String("string"),
BgpBaseCidr: pulumi.String("string"),
BgpCerCidr: pulumi.String("string"),
BgpIbmCidr: pulumi.String("string"),
CarrierName: pulumi.String("string"),
ConnectionMode: pulumi.String("string"),
CrossConnectRouter: pulumi.String("string"),
CustomerName: pulumi.String("string"),
DefaultExportRouteFilter: pulumi.String("string"),
DefaultImportRouteFilter: pulumi.String("string"),
AsPrepends: ibm.DlGatewayAsPrependArray{
&ibm.DlGatewayAsPrependArgs{
Length: pulumi.Float64(0),
Policy: pulumi.String("string"),
CreatedAt: pulumi.String("string"),
Id: pulumi.String("string"),
SpecificPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
UpdatedAt: pulumi.String("string"),
},
},
ExportRouteFilters: ibm.DlGatewayExportRouteFilterArray{
&ibm.DlGatewayExportRouteFilterArgs{
Action: pulumi.String("string"),
Prefix: pulumi.String("string"),
Before: pulumi.String("string"),
CreatedAt: pulumi.String("string"),
ExFilterId: pulumi.String("string"),
Ge: pulumi.Float64(0),
Le: pulumi.Float64(0),
UpdatedAt: pulumi.String("string"),
},
},
BfdStatusUpdatedAt: pulumi.String("string"),
ImportRouteFilters: ibm.DlGatewayImportRouteFilterArray{
&ibm.DlGatewayImportRouteFilterArgs{
Action: pulumi.String("string"),
Prefix: pulumi.String("string"),
Before: pulumi.String("string"),
CreatedAt: pulumi.String("string"),
Ge: pulumi.Float64(0),
ImFilterId: pulumi.String("string"),
Le: pulumi.Float64(0),
UpdatedAt: pulumi.String("string"),
},
},
LoaRejectReason: pulumi.String("string"),
LocationName: pulumi.String("string"),
MacsecConfig: &ibm.DlGatewayMacsecConfigArgs{
Active: pulumi.Bool(false),
PrimaryCak: pulumi.String("string"),
ActiveCak: pulumi.String("string"),
CipherSuite: pulumi.String("string"),
ConfidentialityOffset: pulumi.Float64(0),
CryptographicAlgorithm: pulumi.String("string"),
FallbackCak: pulumi.String("string"),
KeyServerPriority: pulumi.Float64(0),
SakExpiryTime: pulumi.Float64(0),
SecurityPolicy: pulumi.String("string"),
Status: pulumi.String("string"),
WindowSize: pulumi.Float64(0),
},
BfdMultiplier: pulumi.Float64(0),
Name: pulumi.String("string"),
Port: pulumi.String("string"),
RemoveVlan: pulumi.Bool(false),
ResourceGroup: pulumi.String("string"),
BfdInterval: pulumi.Float64(0),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
Timeouts: &ibm.DlGatewayTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
AuthenticationKey: pulumi.String("string"),
Vlan: pulumi.Float64(0),
})
var dlGatewayResource = new DlGateway("dlGatewayResource", DlGatewayArgs.builder()
.bgpAsn(0)
.type("string")
.speedMbps(0)
.metered(false)
.global(false)
.dlGatewayId("string")
.bfdStatus("string")
.bgpBaseCidr("string")
.bgpCerCidr("string")
.bgpIbmCidr("string")
.carrierName("string")
.connectionMode("string")
.crossConnectRouter("string")
.customerName("string")
.defaultExportRouteFilter("string")
.defaultImportRouteFilter("string")
.asPrepends(DlGatewayAsPrependArgs.builder()
.length(0)
.policy("string")
.createdAt("string")
.id("string")
.specificPrefixes("string")
.updatedAt("string")
.build())
.exportRouteFilters(DlGatewayExportRouteFilterArgs.builder()
.action("string")
.prefix("string")
.before("string")
.createdAt("string")
.exFilterId("string")
.ge(0)
.le(0)
.updatedAt("string")
.build())
.bfdStatusUpdatedAt("string")
.importRouteFilters(DlGatewayImportRouteFilterArgs.builder()
.action("string")
.prefix("string")
.before("string")
.createdAt("string")
.ge(0)
.imFilterId("string")
.le(0)
.updatedAt("string")
.build())
.loaRejectReason("string")
.locationName("string")
.macsecConfig(DlGatewayMacsecConfigArgs.builder()
.active(false)
.primaryCak("string")
.activeCak("string")
.cipherSuite("string")
.confidentialityOffset(0)
.cryptographicAlgorithm("string")
.fallbackCak("string")
.keyServerPriority(0)
.sakExpiryTime(0)
.securityPolicy("string")
.status("string")
.windowSize(0)
.build())
.bfdMultiplier(0)
.name("string")
.port("string")
.removeVlan(false)
.resourceGroup("string")
.bfdInterval(0)
.tags("string")
.timeouts(DlGatewayTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.authenticationKey("string")
.vlan(0)
.build());
dl_gateway_resource = ibm.DlGateway("dlGatewayResource",
bgp_asn=0,
type="string",
speed_mbps=0,
metered=False,
global_=False,
dl_gateway_id="string",
bfd_status="string",
bgp_base_cidr="string",
bgp_cer_cidr="string",
bgp_ibm_cidr="string",
carrier_name="string",
connection_mode="string",
cross_connect_router="string",
customer_name="string",
default_export_route_filter="string",
default_import_route_filter="string",
as_prepends=[{
"length": 0,
"policy": "string",
"created_at": "string",
"id": "string",
"specific_prefixes": ["string"],
"updated_at": "string",
}],
export_route_filters=[{
"action": "string",
"prefix": "string",
"before": "string",
"created_at": "string",
"ex_filter_id": "string",
"ge": 0,
"le": 0,
"updated_at": "string",
}],
bfd_status_updated_at="string",
import_route_filters=[{
"action": "string",
"prefix": "string",
"before": "string",
"created_at": "string",
"ge": 0,
"im_filter_id": "string",
"le": 0,
"updated_at": "string",
}],
loa_reject_reason="string",
location_name="string",
macsec_config={
"active": False,
"primary_cak": "string",
"active_cak": "string",
"cipher_suite": "string",
"confidentiality_offset": 0,
"cryptographic_algorithm": "string",
"fallback_cak": "string",
"key_server_priority": 0,
"sak_expiry_time": 0,
"security_policy": "string",
"status": "string",
"window_size": 0,
},
bfd_multiplier=0,
name="string",
port="string",
remove_vlan=False,
resource_group="string",
bfd_interval=0,
tags=["string"],
timeouts={
"create": "string",
"delete": "string",
"update": "string",
},
authentication_key="string",
vlan=0)
const dlGatewayResource = new ibm.DlGateway("dlGatewayResource", {
bgpAsn: 0,
type: "string",
speedMbps: 0,
metered: false,
global: false,
dlGatewayId: "string",
bfdStatus: "string",
bgpBaseCidr: "string",
bgpCerCidr: "string",
bgpIbmCidr: "string",
carrierName: "string",
connectionMode: "string",
crossConnectRouter: "string",
customerName: "string",
defaultExportRouteFilter: "string",
defaultImportRouteFilter: "string",
asPrepends: [{
length: 0,
policy: "string",
createdAt: "string",
id: "string",
specificPrefixes: ["string"],
updatedAt: "string",
}],
exportRouteFilters: [{
action: "string",
prefix: "string",
before: "string",
createdAt: "string",
exFilterId: "string",
ge: 0,
le: 0,
updatedAt: "string",
}],
bfdStatusUpdatedAt: "string",
importRouteFilters: [{
action: "string",
prefix: "string",
before: "string",
createdAt: "string",
ge: 0,
imFilterId: "string",
le: 0,
updatedAt: "string",
}],
loaRejectReason: "string",
locationName: "string",
macsecConfig: {
active: false,
primaryCak: "string",
activeCak: "string",
cipherSuite: "string",
confidentialityOffset: 0,
cryptographicAlgorithm: "string",
fallbackCak: "string",
keyServerPriority: 0,
sakExpiryTime: 0,
securityPolicy: "string",
status: "string",
windowSize: 0,
},
bfdMultiplier: 0,
name: "string",
port: "string",
removeVlan: false,
resourceGroup: "string",
bfdInterval: 0,
tags: ["string"],
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
authenticationKey: "string",
vlan: 0,
});
type: ibm:DlGateway
properties:
asPrepends:
- createdAt: string
id: string
length: 0
policy: string
specificPrefixes:
- string
updatedAt: string
authenticationKey: string
bfdInterval: 0
bfdMultiplier: 0
bfdStatus: string
bfdStatusUpdatedAt: string
bgpAsn: 0
bgpBaseCidr: string
bgpCerCidr: string
bgpIbmCidr: string
carrierName: string
connectionMode: string
crossConnectRouter: string
customerName: string
defaultExportRouteFilter: string
defaultImportRouteFilter: string
dlGatewayId: string
exportRouteFilters:
- action: string
before: string
createdAt: string
exFilterId: string
ge: 0
le: 0
prefix: string
updatedAt: string
global: false
importRouteFilters:
- action: string
before: string
createdAt: string
ge: 0
imFilterId: string
le: 0
prefix: string
updatedAt: string
loaRejectReason: string
locationName: string
macsecConfig:
active: false
activeCak: string
cipherSuite: string
confidentialityOffset: 0
cryptographicAlgorithm: string
fallbackCak: string
keyServerPriority: 0
primaryCak: string
sakExpiryTime: 0
securityPolicy: string
status: string
windowSize: 0
metered: false
name: string
port: string
removeVlan: false
resourceGroup: string
speedMbps: 0
tags:
- string
timeouts:
create: string
delete: string
update: string
type: string
vlan: 0
DlGateway 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 DlGateway resource accepts the following input properties:
- Bgp
Asn double - The BGP ASN of the gateway to be created. For example,
64999
. - Global bool
- Required-Gateway with global routing as true can connect networks outside your associated region.
- Metered bool
- Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
- Speed
Mbps double - The gateway speed in MBPS. For example,
10.254.30.78/30
. - Type string
- The gateway type, allowed values are
dedicated
andconnect
. - As
Prepends List<DlGateway As Prepend> List of AS Prepend configuration information
Nested scheme for
as_prepend
:- Authentication
Key string - BGP MD5 authentication key.
- Bfd
Interval double - 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 double - The number of hello packets not received by a neighbor that causes the originating interface to be declared down.
- Bfd
Status string - (String) Gateway BFD status
- Bfd
Status stringUpdated At - (String) Date and time BFD status was updated at
- Bgp
Base stringCidr - (Deprecated) The BGP base CIDR of the gateway to be created. See
bgp_ibm_cidr
andbgp_cer_cidr
for details on how to create a gateway by using automatic or explicit IP assignment. Anybgp_base_cidr
value set will be ignored. - Bgp
Cer stringCidr - The BGP customer edge router CIDR. Specify a value within
bgp_base_cidr
. For auto IP assignment, omitbgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - Bgp
Ibm stringCidr - The BGP IBM CIDR. For auto IP assignment, omit
bgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - Carrier
Name string - The carrier name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,myCarrierName
. - Connection
Mode string - Type of network connection that you want to bind to your direct link. Allowed values are
direct
andtransit
. - Cross
Connect stringRouter - The cross connect router required for
dedicated
type. For example,xcr01.dal03
. - Customer
Name string - The customer name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,newCustomerName
. - Default
Export stringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- Default
Import stringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- Dl
Gateway stringId - (String) The unique ID of the gateway.
- Export
Route List<DlFilters Gateway Export Route Filter> List of Export Route Filter configuration information.
Nested scheme for
export_route_filter
:- Import
Route List<DlFilters Gateway Import Route Filter> - List of Import Route Filter configuration information.
Nested scheme for
import_route_filter
: - Loa
Reject stringReason - Loa reject reason
- Location
Name string - The gateway location is required for
dedicated
type. For example,dal03
. - Macsec
Config DlGateway Macsec Config - MACsec configuration information
- Name string
- The unique user-defined name for the gateway. For example,
myGateway
.No. - Port string
- The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
- Remove
Vlan bool - The default value for this attribute is false. Set the value to true, if you want to remove the vlan value set earlier. You can remove vlan only for
type=dedicated
gateways. This attribute value conflicts withvlan
attribute. You cannot set avlan
as well asremove_vlan
at the same time. - Resource
Group string - The resource group. If unspecified, the account's default resource group is used.
- List<string>
- Tags for the direct link gateway
- Timeouts
Dl
Gateway Timeouts - Vlan double
- The VLAN allocated for the gateway. You can set only for
type=dedicated
gateways. Allowed vlan range is 2-3967.
- Bgp
Asn float64 - The BGP ASN of the gateway to be created. For example,
64999
. - Global bool
- Required-Gateway with global routing as true can connect networks outside your associated region.
- Metered bool
- Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
- Speed
Mbps float64 - The gateway speed in MBPS. For example,
10.254.30.78/30
. - Type string
- The gateway type, allowed values are
dedicated
andconnect
. - As
Prepends []DlGateway As Prepend Args List of AS Prepend configuration information
Nested scheme for
as_prepend
:- Authentication
Key string - BGP MD5 authentication key.
- Bfd
Interval float64 - 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 float64 - The number of hello packets not received by a neighbor that causes the originating interface to be declared down.
- Bfd
Status string - (String) Gateway BFD status
- Bfd
Status stringUpdated At - (String) Date and time BFD status was updated at
- Bgp
Base stringCidr - (Deprecated) The BGP base CIDR of the gateway to be created. See
bgp_ibm_cidr
andbgp_cer_cidr
for details on how to create a gateway by using automatic or explicit IP assignment. Anybgp_base_cidr
value set will be ignored. - Bgp
Cer stringCidr - The BGP customer edge router CIDR. Specify a value within
bgp_base_cidr
. For auto IP assignment, omitbgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - Bgp
Ibm stringCidr - The BGP IBM CIDR. For auto IP assignment, omit
bgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - Carrier
Name string - The carrier name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,myCarrierName
. - Connection
Mode string - Type of network connection that you want to bind to your direct link. Allowed values are
direct
andtransit
. - Cross
Connect stringRouter - The cross connect router required for
dedicated
type. For example,xcr01.dal03
. - Customer
Name string - The customer name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,newCustomerName
. - Default
Export stringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- Default
Import stringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- Dl
Gateway stringId - (String) The unique ID of the gateway.
- Export
Route []DlFilters Gateway Export Route Filter Args List of Export Route Filter configuration information.
Nested scheme for
export_route_filter
:- Import
Route []DlFilters Gateway Import Route Filter Args - List of Import Route Filter configuration information.
Nested scheme for
import_route_filter
: - Loa
Reject stringReason - Loa reject reason
- Location
Name string - The gateway location is required for
dedicated
type. For example,dal03
. - Macsec
Config DlGateway Macsec Config Args - MACsec configuration information
- Name string
- The unique user-defined name for the gateway. For example,
myGateway
.No. - Port string
- The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
- Remove
Vlan bool - The default value for this attribute is false. Set the value to true, if you want to remove the vlan value set earlier. You can remove vlan only for
type=dedicated
gateways. This attribute value conflicts withvlan
attribute. You cannot set avlan
as well asremove_vlan
at the same time. - Resource
Group string - The resource group. If unspecified, the account's default resource group is used.
- []string
- Tags for the direct link gateway
- Timeouts
Dl
Gateway Timeouts Args - Vlan float64
- The VLAN allocated for the gateway. You can set only for
type=dedicated
gateways. Allowed vlan range is 2-3967.
- bgp
Asn Double - The BGP ASN of the gateway to be created. For example,
64999
. - global Boolean
- Required-Gateway with global routing as true can connect networks outside your associated region.
- metered Boolean
- Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
- speed
Mbps Double - The gateway speed in MBPS. For example,
10.254.30.78/30
. - type String
- The gateway type, allowed values are
dedicated
andconnect
. - as
Prepends List<DlGateway As Prepend> List of AS Prepend configuration information
Nested scheme for
as_prepend
:- authentication
Key String - BGP MD5 authentication key.
- bfd
Interval Double - 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 Double - The number of hello packets not received by a neighbor that causes the originating interface to be declared down.
- bfd
Status String - (String) Gateway BFD status
- bfd
Status StringUpdated At - (String) Date and time BFD status was updated at
- bgp
Base StringCidr - (Deprecated) The BGP base CIDR of the gateway to be created. See
bgp_ibm_cidr
andbgp_cer_cidr
for details on how to create a gateway by using automatic or explicit IP assignment. Anybgp_base_cidr
value set will be ignored. - bgp
Cer StringCidr - The BGP customer edge router CIDR. Specify a value within
bgp_base_cidr
. For auto IP assignment, omitbgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - bgp
Ibm StringCidr - The BGP IBM CIDR. For auto IP assignment, omit
bgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - carrier
Name String - The carrier name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,myCarrierName
. - connection
Mode String - Type of network connection that you want to bind to your direct link. Allowed values are
direct
andtransit
. - cross
Connect StringRouter - The cross connect router required for
dedicated
type. For example,xcr01.dal03
. - customer
Name String - The customer name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,newCustomerName
. - default
Export StringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- default
Import StringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- dl
Gateway StringId - (String) The unique ID of the gateway.
- export
Route List<DlFilters Gateway Export Route Filter> List of Export Route Filter configuration information.
Nested scheme for
export_route_filter
:- import
Route List<DlFilters Gateway Import Route Filter> - List of Import Route Filter configuration information.
Nested scheme for
import_route_filter
: - loa
Reject StringReason - Loa reject reason
- location
Name String - The gateway location is required for
dedicated
type. For example,dal03
. - macsec
Config DlGateway Macsec Config - MACsec configuration information
- name String
- The unique user-defined name for the gateway. For example,
myGateway
.No. - port String
- The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
- remove
Vlan Boolean - The default value for this attribute is false. Set the value to true, if you want to remove the vlan value set earlier. You can remove vlan only for
type=dedicated
gateways. This attribute value conflicts withvlan
attribute. You cannot set avlan
as well asremove_vlan
at the same time. - resource
Group String - The resource group. If unspecified, the account's default resource group is used.
- List<String>
- Tags for the direct link gateway
- timeouts
Dl
Gateway Timeouts - vlan Double
- The VLAN allocated for the gateway. You can set only for
type=dedicated
gateways. Allowed vlan range is 2-3967.
- bgp
Asn number - The BGP ASN of the gateway to be created. For example,
64999
. - global boolean
- Required-Gateway with global routing as true can connect networks outside your associated region.
- metered boolean
- Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
- speed
Mbps number - The gateway speed in MBPS. For example,
10.254.30.78/30
. - type string
- The gateway type, allowed values are
dedicated
andconnect
. - as
Prepends DlGateway As Prepend[] List of AS Prepend configuration information
Nested scheme for
as_prepend
:- authentication
Key string - BGP MD5 authentication key.
- bfd
Interval number - 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 number - The number of hello packets not received by a neighbor that causes the originating interface to be declared down.
- bfd
Status string - (String) Gateway BFD status
- bfd
Status stringUpdated At - (String) Date and time BFD status was updated at
- bgp
Base stringCidr - (Deprecated) The BGP base CIDR of the gateway to be created. See
bgp_ibm_cidr
andbgp_cer_cidr
for details on how to create a gateway by using automatic or explicit IP assignment. Anybgp_base_cidr
value set will be ignored. - bgp
Cer stringCidr - The BGP customer edge router CIDR. Specify a value within
bgp_base_cidr
. For auto IP assignment, omitbgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - bgp
Ibm stringCidr - The BGP IBM CIDR. For auto IP assignment, omit
bgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - carrier
Name string - The carrier name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,myCarrierName
. - connection
Mode string - Type of network connection that you want to bind to your direct link. Allowed values are
direct
andtransit
. - cross
Connect stringRouter - The cross connect router required for
dedicated
type. For example,xcr01.dal03
. - customer
Name string - The customer name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,newCustomerName
. - default
Export stringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- default
Import stringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- dl
Gateway stringId - (String) The unique ID of the gateway.
- export
Route DlFilters Gateway Export Route Filter[] List of Export Route Filter configuration information.
Nested scheme for
export_route_filter
:- import
Route DlFilters Gateway Import Route Filter[] - List of Import Route Filter configuration information.
Nested scheme for
import_route_filter
: - loa
Reject stringReason - Loa reject reason
- location
Name string - The gateway location is required for
dedicated
type. For example,dal03
. - macsec
Config DlGateway Macsec Config - MACsec configuration information
- name string
- The unique user-defined name for the gateway. For example,
myGateway
.No. - port string
- The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
- remove
Vlan boolean - The default value for this attribute is false. Set the value to true, if you want to remove the vlan value set earlier. You can remove vlan only for
type=dedicated
gateways. This attribute value conflicts withvlan
attribute. You cannot set avlan
as well asremove_vlan
at the same time. - resource
Group string - The resource group. If unspecified, the account's default resource group is used.
- string[]
- Tags for the direct link gateway
- timeouts
Dl
Gateway Timeouts - vlan number
- The VLAN allocated for the gateway. You can set only for
type=dedicated
gateways. Allowed vlan range is 2-3967.
- bgp_
asn float - The BGP ASN of the gateway to be created. For example,
64999
. - global_ bool
- Required-Gateway with global routing as true can connect networks outside your associated region.
- metered bool
- Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
- speed_
mbps float - The gateway speed in MBPS. For example,
10.254.30.78/30
. - type str
- The gateway type, allowed values are
dedicated
andconnect
. - as_
prepends Sequence[DlGateway As Prepend Args] List of AS Prepend configuration information
Nested scheme for
as_prepend
:- authentication_
key str - BGP MD5 authentication key.
- bfd_
interval float - 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 - 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_ strupdated_ at - (String) Date and time BFD status was updated at
- bgp_
base_ strcidr - (Deprecated) The BGP base CIDR of the gateway to be created. See
bgp_ibm_cidr
andbgp_cer_cidr
for details on how to create a gateway by using automatic or explicit IP assignment. Anybgp_base_cidr
value set will be ignored. - bgp_
cer_ strcidr - The BGP customer edge router CIDR. Specify a value within
bgp_base_cidr
. For auto IP assignment, omitbgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - bgp_
ibm_ strcidr - The BGP IBM CIDR. For auto IP assignment, omit
bgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - carrier_
name str - The carrier name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,myCarrierName
. - connection_
mode str - Type of network connection that you want to bind to your direct link. Allowed values are
direct
andtransit
. - cross_
connect_ strrouter - The cross connect router required for
dedicated
type. For example,xcr01.dal03
. - customer_
name str - The customer name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,newCustomerName
. - default_
export_ strroute_ filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- default_
import_ strroute_ filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- dl_
gateway_ strid - (String) The unique ID of the gateway.
- export_
route_ Sequence[Dlfilters Gateway Export Route Filter Args] List of Export Route Filter configuration information.
Nested scheme for
export_route_filter
:- import_
route_ Sequence[Dlfilters Gateway Import Route Filter Args] - List of Import Route Filter configuration information.
Nested scheme for
import_route_filter
: - loa_
reject_ strreason - Loa reject reason
- location_
name str - The gateway location is required for
dedicated
type. For example,dal03
. - macsec_
config DlGateway Macsec Config Args - MACsec configuration information
- name str
- The unique user-defined name for the gateway. For example,
myGateway
.No. - port str
- The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
- remove_
vlan bool - The default value for this attribute is false. Set the value to true, if you want to remove the vlan value set earlier. You can remove vlan only for
type=dedicated
gateways. This attribute value conflicts withvlan
attribute. You cannot set avlan
as well asremove_vlan
at the same time. - resource_
group str - The resource group. If unspecified, the account's default resource group is used.
- Sequence[str]
- Tags for the direct link gateway
- timeouts
Dl
Gateway Timeouts Args - vlan float
- The VLAN allocated for the gateway. You can set only for
type=dedicated
gateways. Allowed vlan range is 2-3967.
- bgp
Asn Number - The BGP ASN of the gateway to be created. For example,
64999
. - global Boolean
- Required-Gateway with global routing as true can connect networks outside your associated region.
- metered Boolean
- Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
- speed
Mbps Number - The gateway speed in MBPS. For example,
10.254.30.78/30
. - type String
- The gateway type, allowed values are
dedicated
andconnect
. - as
Prepends List<Property Map> List of AS Prepend configuration information
Nested scheme for
as_prepend
:- authentication
Key String - BGP MD5 authentication key.
- bfd
Interval Number - 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 Number - The number of hello packets not received by a neighbor that causes the originating interface to be declared down.
- bfd
Status String - (String) Gateway BFD status
- bfd
Status StringUpdated At - (String) Date and time BFD status was updated at
- bgp
Base StringCidr - (Deprecated) The BGP base CIDR of the gateway to be created. See
bgp_ibm_cidr
andbgp_cer_cidr
for details on how to create a gateway by using automatic or explicit IP assignment. Anybgp_base_cidr
value set will be ignored. - bgp
Cer StringCidr - The BGP customer edge router CIDR. Specify a value within
bgp_base_cidr
. For auto IP assignment, omitbgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - bgp
Ibm StringCidr - The BGP IBM CIDR. For auto IP assignment, omit
bgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - carrier
Name String - The carrier name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,myCarrierName
. - connection
Mode String - Type of network connection that you want to bind to your direct link. Allowed values are
direct
andtransit
. - cross
Connect StringRouter - The cross connect router required for
dedicated
type. For example,xcr01.dal03
. - customer
Name String - The customer name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,newCustomerName
. - default
Export StringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- default
Import StringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- dl
Gateway StringId - (String) The unique ID of the gateway.
- export
Route List<Property Map>Filters List of Export Route Filter configuration information.
Nested scheme for
export_route_filter
:- import
Route List<Property Map>Filters - List of Import Route Filter configuration information.
Nested scheme for
import_route_filter
: - loa
Reject StringReason - Loa reject reason
- location
Name String - The gateway location is required for
dedicated
type. For example,dal03
. - macsec
Config Property Map - MACsec configuration information
- name String
- The unique user-defined name for the gateway. For example,
myGateway
.No. - port String
- The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
- remove
Vlan Boolean - The default value for this attribute is false. Set the value to true, if you want to remove the vlan value set earlier. You can remove vlan only for
type=dedicated
gateways. This attribute value conflicts withvlan
attribute. You cannot set avlan
as well asremove_vlan
at the same time. - resource
Group String - The resource group. If unspecified, the account's default resource group is used.
- List<String>
- Tags for the direct link gateway
- timeouts Property Map
- vlan Number
- The VLAN allocated for the gateway. You can set only for
type=dedicated
gateways. Allowed vlan range is 2-3967.
Outputs
All input properties are implicitly available as output properties. Additionally, the DlGateway resource produces the following output properties:
- Bgp
Ibm doubleAsn - IBM BGP ASN
- Bgp
Status string - (String) The gateway BGP status.
- Bgp
Status stringUpdated At - (String) Date and time bgp status was updated.
- Change
Request string - Changes pending approval for provider managed Direct Link Connect gateways
- Completion
Notice stringReject Reason - (String) The reason for completion notice rejection.
- 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.
- Link
Status string - (String) The gateway link status. You can include only on
type=dedicated
gateways. For example,down
,up
. - Link
Status stringUpdated At - (String) Date and time link status was updated.
- Location
Display stringName - (String) The gateway location long name.
- Operational
Status string - (String) The Gateway operational status. For gateways pending LOA approval, patch
operational_status
to the appropriate value to approve or reject its LOA. For example,loa_accepted
. - Provider
Api boolManaged - (String) Indicates whether 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
- Bgp
Ibm float64Asn - IBM BGP ASN
- Bgp
Status string - (String) The gateway BGP status.
- Bgp
Status stringUpdated At - (String) Date and time bgp status was updated.
- Change
Request string - Changes pending approval for provider managed Direct Link Connect gateways
- Completion
Notice stringReject Reason - (String) The reason for completion notice rejection.
- 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.
- Link
Status string - (String) The gateway link status. You can include only on
type=dedicated
gateways. For example,down
,up
. - Link
Status stringUpdated At - (String) Date and time link status was updated.
- Location
Display stringName - (String) The gateway location long name.
- Operational
Status string - (String) The Gateway operational status. For gateways pending LOA approval, patch
operational_status
to the appropriate value to approve or reject its LOA. For example,loa_accepted
. - Provider
Api boolManaged - (String) Indicates whether 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
- bgp
Ibm DoubleAsn - IBM BGP ASN
- bgp
Status String - (String) The gateway BGP status.
- bgp
Status StringUpdated At - (String) Date and time bgp status was updated.
- change
Request String - Changes pending approval for provider managed Direct Link Connect gateways
- completion
Notice StringReject Reason - (String) The reason for completion notice rejection.
- 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.
- link
Status String - (String) The gateway link status. You can include only on
type=dedicated
gateways. For example,down
,up
. - link
Status StringUpdated At - (String) Date and time link status was updated.
- location
Display StringName - (String) The gateway location long name.
- operational
Status String - (String) The Gateway operational status. For gateways pending LOA approval, patch
operational_status
to the appropriate value to approve or reject its LOA. For example,loa_accepted
. - provider
Api BooleanManaged - (String) Indicates whether 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
- bgp
Ibm numberAsn - IBM BGP ASN
- bgp
Status string - (String) The gateway BGP status.
- bgp
Status stringUpdated At - (String) Date and time bgp status was updated.
- change
Request string - Changes pending approval for provider managed Direct Link Connect gateways
- completion
Notice stringReject Reason - (String) The reason for completion notice rejection.
- 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.
- link
Status string - (String) The gateway link status. You can include only on
type=dedicated
gateways. For example,down
,up
. - link
Status stringUpdated At - (String) Date and time link status was updated.
- location
Display stringName - (String) The gateway location long name.
- operational
Status string - (String) The Gateway operational status. For gateways pending LOA approval, patch
operational_status
to the appropriate value to approve or reject its LOA. For example,loa_accepted
. - provider
Api booleanManaged - (String) Indicates whether 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
- bgp_
ibm_ floatasn - IBM BGP ASN
- bgp_
status str - (String) The gateway BGP status.
- bgp_
status_ strupdated_ at - (String) Date and time bgp status was updated.
- change_
request str - Changes pending approval for provider managed Direct Link Connect gateways
- completion_
notice_ strreject_ reason - (String) The reason for completion notice rejection.
- 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.
- link_
status str - (String) The gateway link status. You can include only on
type=dedicated
gateways. For example,down
,up
. - link_
status_ strupdated_ at - (String) Date and time link status was updated.
- location_
display_ strname - (String) The gateway location long name.
- operational_
status str - (String) The Gateway operational status. For gateways pending LOA approval, patch
operational_status
to the appropriate value to approve or reject its LOA. For example,loa_accepted
. - provider_
api_ boolmanaged - (String) Indicates whether 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
- bgp
Ibm NumberAsn - IBM BGP ASN
- bgp
Status String - (String) The gateway BGP status.
- bgp
Status StringUpdated At - (String) Date and time bgp status was updated.
- change
Request String - Changes pending approval for provider managed Direct Link Connect gateways
- completion
Notice StringReject Reason - (String) The reason for completion notice rejection.
- 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.
- link
Status String - (String) The gateway link status. You can include only on
type=dedicated
gateways. For example,down
,up
. - link
Status StringUpdated At - (String) Date and time link status was updated.
- location
Display StringName - (String) The gateway location long name.
- operational
Status String - (String) The Gateway operational status. For gateways pending LOA approval, patch
operational_status
to the appropriate value to approve or reject its LOA. For example,loa_accepted
. - provider
Api BooleanManaged - (String) Indicates whether 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
Look up Existing DlGateway Resource
Get an existing DlGateway 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?: DlGatewayState, opts?: CustomResourceOptions): DlGateway
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
as_prepends: Optional[Sequence[DlGatewayAsPrependArgs]] = None,
authentication_key: Optional[str] = None,
bfd_interval: Optional[float] = None,
bfd_multiplier: Optional[float] = None,
bfd_status: Optional[str] = None,
bfd_status_updated_at: Optional[str] = None,
bgp_asn: Optional[float] = None,
bgp_base_cidr: Optional[str] = None,
bgp_cer_cidr: Optional[str] = None,
bgp_ibm_asn: Optional[float] = None,
bgp_ibm_cidr: Optional[str] = None,
bgp_status: Optional[str] = None,
bgp_status_updated_at: Optional[str] = None,
carrier_name: Optional[str] = None,
change_request: Optional[str] = None,
completion_notice_reject_reason: Optional[str] = None,
connection_mode: Optional[str] = None,
created_at: Optional[str] = None,
crn: Optional[str] = None,
cross_connect_router: Optional[str] = None,
customer_name: Optional[str] = None,
default_export_route_filter: Optional[str] = None,
default_import_route_filter: Optional[str] = None,
dl_gateway_id: Optional[str] = None,
export_route_filters: Optional[Sequence[DlGatewayExportRouteFilterArgs]] = None,
global_: Optional[bool] = None,
import_route_filters: Optional[Sequence[DlGatewayImportRouteFilterArgs]] = None,
link_status: Optional[str] = None,
link_status_updated_at: Optional[str] = None,
loa_reject_reason: Optional[str] = None,
location_display_name: Optional[str] = None,
location_name: Optional[str] = None,
macsec_config: Optional[DlGatewayMacsecConfigArgs] = None,
metered: Optional[bool] = None,
name: Optional[str] = None,
operational_status: Optional[str] = None,
port: Optional[str] = None,
provider_api_managed: Optional[bool] = None,
remove_vlan: Optional[bool] = None,
resource_controller_url: Optional[str] = None,
resource_crn: Optional[str] = None,
resource_group: 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,
timeouts: Optional[DlGatewayTimeoutsArgs] = None,
type: Optional[str] = None,
vlan: Optional[float] = None) -> DlGateway
func GetDlGateway(ctx *Context, name string, id IDInput, state *DlGatewayState, opts ...ResourceOption) (*DlGateway, error)
public static DlGateway Get(string name, Input<string> id, DlGatewayState? state, CustomResourceOptions? opts = null)
public static DlGateway get(String name, Output<String> id, DlGatewayState state, CustomResourceOptions options)
resources: _: type: ibm:DlGateway 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.
- As
Prepends List<DlGateway As Prepend> List of AS Prepend configuration information
Nested scheme for
as_prepend
:- Authentication
Key string - BGP MD5 authentication key.
- Bfd
Interval double - 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 double - The number of hello packets not received by a neighbor that causes the originating interface to be declared down.
- Bfd
Status string - (String) Gateway BFD status
- Bfd
Status stringUpdated At - (String) Date and time BFD status was updated at
- Bgp
Asn double - The BGP ASN of the gateway to be created. For example,
64999
. - Bgp
Base stringCidr - (Deprecated) The BGP base CIDR of the gateway to be created. See
bgp_ibm_cidr
andbgp_cer_cidr
for details on how to create a gateway by using automatic or explicit IP assignment. Anybgp_base_cidr
value set will be ignored. - Bgp
Cer stringCidr - The BGP customer edge router CIDR. Specify a value within
bgp_base_cidr
. For auto IP assignment, omitbgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - Bgp
Ibm doubleAsn - IBM BGP ASN
- Bgp
Ibm stringCidr - The BGP IBM CIDR. For auto IP assignment, omit
bgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - Bgp
Status string - (String) The gateway BGP status.
- Bgp
Status stringUpdated At - (String) Date and time bgp status was updated.
- Carrier
Name string - The carrier name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,myCarrierName
. - Change
Request string - Changes pending approval for provider managed Direct Link Connect gateways
- Completion
Notice stringReject Reason - (String) The reason for completion notice rejection.
- Connection
Mode string - Type of network connection that you want to bind to your direct link. Allowed values are
direct
andtransit
. - Created
At string - (String) The date and time resource created.
- Crn string
- (String) The CRN of the gateway.
- Cross
Connect stringRouter - The cross connect router required for
dedicated
type. For example,xcr01.dal03
. - Customer
Name string - The customer name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,newCustomerName
. - Default
Export stringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- Default
Import stringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- Dl
Gateway stringId - (String) The unique ID of the gateway.
- Export
Route List<DlFilters Gateway Export Route Filter> List of Export Route Filter configuration information.
Nested scheme for
export_route_filter
:- Global bool
- Required-Gateway with global routing as true can connect networks outside your associated region.
- Import
Route List<DlFilters Gateway Import Route Filter> - List of Import Route Filter configuration information.
Nested scheme for
import_route_filter
: - Link
Status string - (String) The gateway link status. You can include only on
type=dedicated
gateways. For example,down
,up
. - Link
Status stringUpdated At - (String) Date and time link status was updated.
- Loa
Reject stringReason - Loa reject reason
- Location
Display stringName - (String) The gateway location long name.
- Location
Name string - The gateway location is required for
dedicated
type. For example,dal03
. - Macsec
Config DlGateway Macsec Config - MACsec configuration information
- Metered bool
- Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
- Name string
- The unique user-defined name for the gateway. For example,
myGateway
.No. - Operational
Status string - (String) The Gateway operational status. For gateways pending LOA approval, patch
operational_status
to the appropriate value to approve or reject its LOA. For example,loa_accepted
. - Port string
- The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
- Provider
Api boolManaged - (String) Indicates whether gateway changes need to be made via a provider portal.
- Remove
Vlan bool - The default value for this attribute is false. Set the value to true, if you want to remove the vlan value set earlier. You can remove vlan only for
type=dedicated
gateways. This attribute value conflicts withvlan
attribute. You cannot set avlan
as well asremove_vlan
at the same time. - 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 string - The resource group. If unspecified, the account's default resource group is used.
- 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 MBPS. For example,
10.254.30.78/30
. - List<string>
- Tags for the direct link gateway
- Timeouts
Dl
Gateway Timeouts - Type string
- The gateway type, allowed values are
dedicated
andconnect
. - Vlan double
- The VLAN allocated for the gateway. You can set only for
type=dedicated
gateways. Allowed vlan range is 2-3967.
- As
Prepends []DlGateway As Prepend Args List of AS Prepend configuration information
Nested scheme for
as_prepend
:- Authentication
Key string - BGP MD5 authentication key.
- Bfd
Interval float64 - 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 float64 - The number of hello packets not received by a neighbor that causes the originating interface to be declared down.
- Bfd
Status string - (String) Gateway BFD status
- Bfd
Status stringUpdated At - (String) Date and time BFD status was updated at
- Bgp
Asn float64 - The BGP ASN of the gateway to be created. For example,
64999
. - Bgp
Base stringCidr - (Deprecated) The BGP base CIDR of the gateway to be created. See
bgp_ibm_cidr
andbgp_cer_cidr
for details on how to create a gateway by using automatic or explicit IP assignment. Anybgp_base_cidr
value set will be ignored. - Bgp
Cer stringCidr - The BGP customer edge router CIDR. Specify a value within
bgp_base_cidr
. For auto IP assignment, omitbgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - Bgp
Ibm float64Asn - IBM BGP ASN
- Bgp
Ibm stringCidr - The BGP IBM CIDR. For auto IP assignment, omit
bgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - Bgp
Status string - (String) The gateway BGP status.
- Bgp
Status stringUpdated At - (String) Date and time bgp status was updated.
- Carrier
Name string - The carrier name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,myCarrierName
. - Change
Request string - Changes pending approval for provider managed Direct Link Connect gateways
- Completion
Notice stringReject Reason - (String) The reason for completion notice rejection.
- Connection
Mode string - Type of network connection that you want to bind to your direct link. Allowed values are
direct
andtransit
. - Created
At string - (String) The date and time resource created.
- Crn string
- (String) The CRN of the gateway.
- Cross
Connect stringRouter - The cross connect router required for
dedicated
type. For example,xcr01.dal03
. - Customer
Name string - The customer name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,newCustomerName
. - Default
Export stringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- Default
Import stringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- Dl
Gateway stringId - (String) The unique ID of the gateway.
- Export
Route []DlFilters Gateway Export Route Filter Args List of Export Route Filter configuration information.
Nested scheme for
export_route_filter
:- Global bool
- Required-Gateway with global routing as true can connect networks outside your associated region.
- Import
Route []DlFilters Gateway Import Route Filter Args - List of Import Route Filter configuration information.
Nested scheme for
import_route_filter
: - Link
Status string - (String) The gateway link status. You can include only on
type=dedicated
gateways. For example,down
,up
. - Link
Status stringUpdated At - (String) Date and time link status was updated.
- Loa
Reject stringReason - Loa reject reason
- Location
Display stringName - (String) The gateway location long name.
- Location
Name string - The gateway location is required for
dedicated
type. For example,dal03
. - Macsec
Config DlGateway Macsec Config Args - MACsec configuration information
- Metered bool
- Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
- Name string
- The unique user-defined name for the gateway. For example,
myGateway
.No. - Operational
Status string - (String) The Gateway operational status. For gateways pending LOA approval, patch
operational_status
to the appropriate value to approve or reject its LOA. For example,loa_accepted
. - Port string
- The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
- Provider
Api boolManaged - (String) Indicates whether gateway changes need to be made via a provider portal.
- Remove
Vlan bool - The default value for this attribute is false. Set the value to true, if you want to remove the vlan value set earlier. You can remove vlan only for
type=dedicated
gateways. This attribute value conflicts withvlan
attribute. You cannot set avlan
as well asremove_vlan
at the same time. - 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 string - The resource group. If unspecified, the account's default resource group is used.
- 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 MBPS. For example,
10.254.30.78/30
. - []string
- Tags for the direct link gateway
- Timeouts
Dl
Gateway Timeouts Args - Type string
- The gateway type, allowed values are
dedicated
andconnect
. - Vlan float64
- The VLAN allocated for the gateway. You can set only for
type=dedicated
gateways. Allowed vlan range is 2-3967.
- as
Prepends List<DlGateway As Prepend> List of AS Prepend configuration information
Nested scheme for
as_prepend
:- authentication
Key String - BGP MD5 authentication key.
- bfd
Interval Double - 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 Double - The number of hello packets not received by a neighbor that causes the originating interface to be declared down.
- bfd
Status String - (String) Gateway BFD status
- bfd
Status StringUpdated At - (String) Date and time BFD status was updated at
- bgp
Asn Double - The BGP ASN of the gateway to be created. For example,
64999
. - bgp
Base StringCidr - (Deprecated) The BGP base CIDR of the gateway to be created. See
bgp_ibm_cidr
andbgp_cer_cidr
for details on how to create a gateway by using automatic or explicit IP assignment. Anybgp_base_cidr
value set will be ignored. - bgp
Cer StringCidr - The BGP customer edge router CIDR. Specify a value within
bgp_base_cidr
. For auto IP assignment, omitbgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - bgp
Ibm DoubleAsn - IBM BGP ASN
- bgp
Ibm StringCidr - The BGP IBM CIDR. For auto IP assignment, omit
bgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - bgp
Status String - (String) The gateway BGP status.
- bgp
Status StringUpdated At - (String) Date and time bgp status was updated.
- carrier
Name String - The carrier name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,myCarrierName
. - change
Request String - Changes pending approval for provider managed Direct Link Connect gateways
- completion
Notice StringReject Reason - (String) The reason for completion notice rejection.
- connection
Mode String - Type of network connection that you want to bind to your direct link. Allowed values are
direct
andtransit
. - created
At String - (String) The date and time resource created.
- crn String
- (String) The CRN of the gateway.
- cross
Connect StringRouter - The cross connect router required for
dedicated
type. For example,xcr01.dal03
. - customer
Name String - The customer name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,newCustomerName
. - default
Export StringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- default
Import StringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- dl
Gateway StringId - (String) The unique ID of the gateway.
- export
Route List<DlFilters Gateway Export Route Filter> List of Export Route Filter configuration information.
Nested scheme for
export_route_filter
:- global Boolean
- Required-Gateway with global routing as true can connect networks outside your associated region.
- import
Route List<DlFilters Gateway Import Route Filter> - List of Import Route Filter configuration information.
Nested scheme for
import_route_filter
: - link
Status String - (String) The gateway link status. You can include only on
type=dedicated
gateways. For example,down
,up
. - link
Status StringUpdated At - (String) Date and time link status was updated.
- loa
Reject StringReason - Loa reject reason
- location
Display StringName - (String) The gateway location long name.
- location
Name String - The gateway location is required for
dedicated
type. For example,dal03
. - macsec
Config DlGateway Macsec Config - MACsec configuration information
- metered Boolean
- Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
- name String
- The unique user-defined name for the gateway. For example,
myGateway
.No. - operational
Status String - (String) The Gateway operational status. For gateways pending LOA approval, patch
operational_status
to the appropriate value to approve or reject its LOA. For example,loa_accepted
. - port String
- The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
- provider
Api BooleanManaged - (String) Indicates whether gateway changes need to be made via a provider portal.
- remove
Vlan Boolean - The default value for this attribute is false. Set the value to true, if you want to remove the vlan value set earlier. You can remove vlan only for
type=dedicated
gateways. This attribute value conflicts withvlan
attribute. You cannot set avlan
as well asremove_vlan
at the same time. - 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 String - The resource group. If unspecified, the account's default resource group is used.
- 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 MBPS. For example,
10.254.30.78/30
. - List<String>
- Tags for the direct link gateway
- timeouts
Dl
Gateway Timeouts - type String
- The gateway type, allowed values are
dedicated
andconnect
. - vlan Double
- The VLAN allocated for the gateway. You can set only for
type=dedicated
gateways. Allowed vlan range is 2-3967.
- as
Prepends DlGateway As Prepend[] List of AS Prepend configuration information
Nested scheme for
as_prepend
:- authentication
Key string - BGP MD5 authentication key.
- bfd
Interval number - 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 number - The number of hello packets not received by a neighbor that causes the originating interface to be declared down.
- bfd
Status string - (String) Gateway BFD status
- bfd
Status stringUpdated At - (String) Date and time BFD status was updated at
- bgp
Asn number - The BGP ASN of the gateway to be created. For example,
64999
. - bgp
Base stringCidr - (Deprecated) The BGP base CIDR of the gateway to be created. See
bgp_ibm_cidr
andbgp_cer_cidr
for details on how to create a gateway by using automatic or explicit IP assignment. Anybgp_base_cidr
value set will be ignored. - bgp
Cer stringCidr - The BGP customer edge router CIDR. Specify a value within
bgp_base_cidr
. For auto IP assignment, omitbgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - bgp
Ibm numberAsn - IBM BGP ASN
- bgp
Ibm stringCidr - The BGP IBM CIDR. For auto IP assignment, omit
bgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - bgp
Status string - (String) The gateway BGP status.
- bgp
Status stringUpdated At - (String) Date and time bgp status was updated.
- carrier
Name string - The carrier name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,myCarrierName
. - change
Request string - Changes pending approval for provider managed Direct Link Connect gateways
- completion
Notice stringReject Reason - (String) The reason for completion notice rejection.
- connection
Mode string - Type of network connection that you want to bind to your direct link. Allowed values are
direct
andtransit
. - created
At string - (String) The date and time resource created.
- crn string
- (String) The CRN of the gateway.
- cross
Connect stringRouter - The cross connect router required for
dedicated
type. For example,xcr01.dal03
. - customer
Name string - The customer name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,newCustomerName
. - default
Export stringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- default
Import stringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- dl
Gateway stringId - (String) The unique ID of the gateway.
- export
Route DlFilters Gateway Export Route Filter[] List of Export Route Filter configuration information.
Nested scheme for
export_route_filter
:- global boolean
- Required-Gateway with global routing as true can connect networks outside your associated region.
- import
Route DlFilters Gateway Import Route Filter[] - List of Import Route Filter configuration information.
Nested scheme for
import_route_filter
: - link
Status string - (String) The gateway link status. You can include only on
type=dedicated
gateways. For example,down
,up
. - link
Status stringUpdated At - (String) Date and time link status was updated.
- loa
Reject stringReason - Loa reject reason
- location
Display stringName - (String) The gateway location long name.
- location
Name string - The gateway location is required for
dedicated
type. For example,dal03
. - macsec
Config DlGateway Macsec Config - MACsec configuration information
- metered boolean
- Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
- name string
- The unique user-defined name for the gateway. For example,
myGateway
.No. - operational
Status string - (String) The Gateway operational status. For gateways pending LOA approval, patch
operational_status
to the appropriate value to approve or reject its LOA. For example,loa_accepted
. - port string
- The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
- provider
Api booleanManaged - (String) Indicates whether gateway changes need to be made via a provider portal.
- remove
Vlan boolean - The default value for this attribute is false. Set the value to true, if you want to remove the vlan value set earlier. You can remove vlan only for
type=dedicated
gateways. This attribute value conflicts withvlan
attribute. You cannot set avlan
as well asremove_vlan
at the same time. - 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 string - The resource group. If unspecified, the account's default resource group is used.
- 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 MBPS. For example,
10.254.30.78/30
. - string[]
- Tags for the direct link gateway
- timeouts
Dl
Gateway Timeouts - type string
- The gateway type, allowed values are
dedicated
andconnect
. - vlan number
- The VLAN allocated for the gateway. You can set only for
type=dedicated
gateways. Allowed vlan range is 2-3967.
- as_
prepends Sequence[DlGateway As Prepend Args] List of AS Prepend configuration information
Nested scheme for
as_prepend
:- authentication_
key str - BGP MD5 authentication key.
- bfd_
interval float - 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 - 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_ strupdated_ at - (String) Date and time BFD status was updated at
- bgp_
asn float - The BGP ASN of the gateway to be created. For example,
64999
. - bgp_
base_ strcidr - (Deprecated) The BGP base CIDR of the gateway to be created. See
bgp_ibm_cidr
andbgp_cer_cidr
for details on how to create a gateway by using automatic or explicit IP assignment. Anybgp_base_cidr
value set will be ignored. - bgp_
cer_ strcidr - The BGP customer edge router CIDR. Specify a value within
bgp_base_cidr
. For auto IP assignment, omitbgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - bgp_
ibm_ floatasn - IBM BGP ASN
- bgp_
ibm_ strcidr - The BGP IBM CIDR. For auto IP assignment, omit
bgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - bgp_
status str - (String) The gateway BGP status.
- bgp_
status_ strupdated_ at - (String) Date and time bgp status was updated.
- carrier_
name str - The carrier name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,myCarrierName
. - change_
request str - Changes pending approval for provider managed Direct Link Connect gateways
- completion_
notice_ strreject_ reason - (String) The reason for completion notice rejection.
- connection_
mode str - Type of network connection that you want to bind to your direct link. Allowed values are
direct
andtransit
. - created_
at str - (String) The date and time resource created.
- crn str
- (String) The CRN of the gateway.
- cross_
connect_ strrouter - The cross connect router required for
dedicated
type. For example,xcr01.dal03
. - customer_
name str - The customer name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,newCustomerName
. - default_
export_ strroute_ filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- default_
import_ strroute_ filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- dl_
gateway_ strid - (String) The unique ID of the gateway.
- export_
route_ Sequence[Dlfilters Gateway Export Route Filter Args] List of Export Route Filter configuration information.
Nested scheme for
export_route_filter
:- global_ bool
- Required-Gateway with global routing as true can connect networks outside your associated region.
- import_
route_ Sequence[Dlfilters Gateway Import Route Filter Args] - List of Import Route Filter configuration information.
Nested scheme for
import_route_filter
: - link_
status str - (String) The gateway link status. You can include only on
type=dedicated
gateways. For example,down
,up
. - link_
status_ strupdated_ at - (String) Date and time link status was updated.
- loa_
reject_ strreason - Loa reject reason
- location_
display_ strname - (String) The gateway location long name.
- location_
name str - The gateway location is required for
dedicated
type. For example,dal03
. - macsec_
config DlGateway Macsec Config Args - MACsec configuration information
- metered bool
- Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
- name str
- The unique user-defined name for the gateway. For example,
myGateway
.No. - operational_
status str - (String) The Gateway operational status. For gateways pending LOA approval, patch
operational_status
to the appropriate value to approve or reject its LOA. For example,loa_accepted
. - port str
- The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
- provider_
api_ boolmanaged - (String) Indicates whether gateway changes need to be made via a provider portal.
- remove_
vlan bool - The default value for this attribute is false. Set the value to true, if you want to remove the vlan value set earlier. You can remove vlan only for
type=dedicated
gateways. This attribute value conflicts withvlan
attribute. You cannot set avlan
as well asremove_vlan
at the same time. - 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 str - The resource group. If unspecified, the account's default resource group is used.
- 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 MBPS. For example,
10.254.30.78/30
. - Sequence[str]
- Tags for the direct link gateway
- timeouts
Dl
Gateway Timeouts Args - type str
- The gateway type, allowed values are
dedicated
andconnect
. - vlan float
- The VLAN allocated for the gateway. You can set only for
type=dedicated
gateways. Allowed vlan range is 2-3967.
- as
Prepends List<Property Map> List of AS Prepend configuration information
Nested scheme for
as_prepend
:- authentication
Key String - BGP MD5 authentication key.
- bfd
Interval Number - 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 Number - The number of hello packets not received by a neighbor that causes the originating interface to be declared down.
- bfd
Status String - (String) Gateway BFD status
- bfd
Status StringUpdated At - (String) Date and time BFD status was updated at
- bgp
Asn Number - The BGP ASN of the gateway to be created. For example,
64999
. - bgp
Base StringCidr - (Deprecated) The BGP base CIDR of the gateway to be created. See
bgp_ibm_cidr
andbgp_cer_cidr
for details on how to create a gateway by using automatic or explicit IP assignment. Anybgp_base_cidr
value set will be ignored. - bgp
Cer StringCidr - The BGP customer edge router CIDR. Specify a value within
bgp_base_cidr
. For auto IP assignment, omitbgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - bgp
Ibm NumberAsn - IBM BGP ASN
- bgp
Ibm StringCidr - The BGP IBM CIDR. For auto IP assignment, omit
bgp_cer_cidr
andbgp_ibm_cidr
. IBM will automatically select values forbgp_cer_cidr
andbgp_ibm_cidr
. - bgp
Status String - (String) The gateway BGP status.
- bgp
Status StringUpdated At - (String) Date and time bgp status was updated.
- carrier
Name String - The carrier name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,myCarrierName
. - change
Request String - Changes pending approval for provider managed Direct Link Connect gateways
- completion
Notice StringReject Reason - (String) The reason for completion notice rejection.
- connection
Mode String - Type of network connection that you want to bind to your direct link. Allowed values are
direct
andtransit
. - created
At String - (String) The date and time resource created.
- crn String
- (String) The CRN of the gateway.
- cross
Connect StringRouter - The cross connect router required for
dedicated
type. For example,xcr01.dal03
. - customer
Name String - The customer name is required for
dedicated
type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example,newCustomerName
. - default
Export StringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- default
Import StringRoute Filter - The default directional route filter action that applies to routes that do not match any directional route filters.
- dl
Gateway StringId - (String) The unique ID of the gateway.
- export
Route List<Property Map>Filters List of Export Route Filter configuration information.
Nested scheme for
export_route_filter
:- global Boolean
- Required-Gateway with global routing as true can connect networks outside your associated region.
- import
Route List<Property Map>Filters - List of Import Route Filter configuration information.
Nested scheme for
import_route_filter
: - link
Status String - (String) The gateway link status. You can include only on
type=dedicated
gateways. For example,down
,up
. - link
Status StringUpdated At - (String) Date and time link status was updated.
- loa
Reject StringReason - Loa reject reason
- location
Display StringName - (String) The gateway location long name.
- location
Name String - The gateway location is required for
dedicated
type. For example,dal03
. - macsec
Config Property Map - MACsec configuration information
- metered Boolean
- Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway.
- name String
- The unique user-defined name for the gateway. For example,
myGateway
.No. - operational
Status String - (String) The Gateway operational status. For gateways pending LOA approval, patch
operational_status
to the appropriate value to approve or reject its LOA. For example,loa_accepted
. - port String
- The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
- provider
Api BooleanManaged - (String) Indicates whether gateway changes need to be made via a provider portal.
- remove
Vlan Boolean - The default value for this attribute is false. Set the value to true, if you want to remove the vlan value set earlier. You can remove vlan only for
type=dedicated
gateways. This attribute value conflicts withvlan
attribute. You cannot set avlan
as well asremove_vlan
at the same time. - 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 String - The resource group. If unspecified, the account's default resource group is used.
- 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 MBPS. For example,
10.254.30.78/30
. - List<String>
- Tags for the direct link gateway
- timeouts Property Map
- type String
- The gateway type, allowed values are
dedicated
andconnect
. - vlan Number
- The VLAN allocated for the gateway. You can set only for
type=dedicated
gateways. Allowed vlan range is 2-3967.
Supporting Types
DlGatewayAsPrepend, DlGatewayAsPrependArgs
- Length double
- Number of times the ASN to appended to the AS Path.
- Policy string
- Route type this AS Prepend applies to. Possible values are
import
andexport
. - Created
At string - (String) The date and time resource created.
- Id string
- (String) The unique ID of the gateway.
- Prefix 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. prefix will be deprecated and support will be removed. Use specific_prefixes instead
- Specific
Prefixes List<string> - Array of prefixes this AS Prepend applies to. If this property is absent, the AS Prepend applies to all prefixes.
- Updated
At string - (String) The date and time AS Prepend was updated.
- Length float64
- Number of times the ASN to appended to the AS Path.
- Policy string
- Route type this AS Prepend applies to. Possible values are
import
andexport
. - Created
At string - (String) The date and time resource created.
- Id string
- (String) The unique ID of the gateway.
- Prefix 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. prefix will be deprecated and support will be removed. Use specific_prefixes instead
- Specific
Prefixes []string - Array of prefixes this AS Prepend applies to. If this property is absent, the AS Prepend applies to all prefixes.
- Updated
At string - (String) The date and time AS Prepend was updated.
- length Double
- Number of times the ASN to appended to the AS Path.
- policy String
- Route type this AS Prepend applies to. Possible values are
import
andexport
. - created
At String - (String) The date and time resource created.
- id String
- (String) The unique ID of the gateway.
- prefix 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. prefix will be deprecated and support will be removed. Use specific_prefixes instead
- specific
Prefixes List<String> - Array of prefixes this AS Prepend applies to. If this property is absent, the AS Prepend applies to all prefixes.
- updated
At String - (String) The date and time AS Prepend was updated.
- length number
- Number of times the ASN to appended to the AS Path.
- policy string
- Route type this AS Prepend applies to. Possible values are
import
andexport
. - created
At string - (String) The date and time resource created.
- id string
- (String) The unique ID of the gateway.
- prefix 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. prefix will be deprecated and support will be removed. Use specific_prefixes instead
- specific
Prefixes string[] - Array of prefixes this AS Prepend applies to. If this property is absent, the AS Prepend applies to all prefixes.
- updated
At string - (String) The date and time AS Prepend was updated.
- length float
- Number of times the ASN to appended to the AS Path.
- policy str
- Route type this AS Prepend applies to. Possible values are
import
andexport
. - created_
at str - (String) The date and time resource created.
- id str
- (String) The unique ID of the gateway.
- prefix str
- Comma separated list of prefixes this AS Prepend applies to. Maximum of 10 prefixes. If not specified, this AS Prepend applies to all prefixes. prefix will be deprecated and support will be removed. Use specific_prefixes instead
- specific_
prefixes Sequence[str] - Array of prefixes this AS Prepend applies to. If this property is absent, the AS Prepend applies to all prefixes.
- updated_
at str - (String) The date and time AS Prepend was updated.
- length Number
- Number of times the ASN to appended to the AS Path.
- policy String
- Route type this AS Prepend applies to. Possible values are
import
andexport
. - created
At String - (String) The date and time resource created.
- id String
- (String) The unique ID of the gateway.
- prefix 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. prefix will be deprecated and support will be removed. Use specific_prefixes instead
- specific
Prefixes List<String> - Array of prefixes this AS Prepend applies to. If this property is absent, the AS Prepend applies to all prefixes.
- updated
At String - (String) The date and time AS Prepend was updated.
DlGatewayExportRouteFilter, DlGatewayExportRouteFilterArgs
- Action string
- Determines whether the routes that match the prefix-set will be permit or deny
- Prefix string
- IP prefix representing an address and mask length of the prefix-set
- Before string
- Identifier of the next route filter to be considered
- Created
At string - (String) The date and time resource created.
- Ex
Filter stringId - Export route Filter identifier
- Ge double
- The minimum matching length of the prefix-set
- Le double
- The maximum matching length of the prefix-set
- Updated
At string - (String) The date and time AS Prepend was updated.
- Action string
- Determines whether the routes that match the prefix-set will be permit or deny
- Prefix string
- IP prefix representing an address and mask length of the prefix-set
- Before string
- Identifier of the next route filter to be considered
- Created
At string - (String) The date and time resource created.
- Ex
Filter stringId - Export route Filter identifier
- Ge float64
- The minimum matching length of the prefix-set
- Le float64
- The maximum matching length of the prefix-set
- Updated
At string - (String) The date and time AS Prepend was updated.
- action String
- Determines whether the routes that match the prefix-set will be permit or deny
- prefix String
- IP prefix representing an address and mask length of the prefix-set
- before String
- Identifier of the next route filter to be considered
- created
At String - (String) The date and time resource created.
- ex
Filter StringId - Export route Filter identifier
- ge Double
- The minimum matching length of the prefix-set
- le Double
- The maximum matching length of the prefix-set
- updated
At String - (String) The date and time AS Prepend was updated.
- action string
- Determines whether the routes that match the prefix-set will be permit or deny
- prefix string
- IP prefix representing an address and mask length of the prefix-set
- before string
- Identifier of the next route filter to be considered
- created
At string - (String) The date and time resource created.
- ex
Filter stringId - Export route Filter identifier
- ge number
- The minimum matching length of the prefix-set
- le number
- The maximum matching length of the prefix-set
- updated
At string - (String) The date and time AS Prepend was updated.
- action str
- Determines whether the routes that match the prefix-set will be permit or deny
- prefix str
- IP prefix representing an address and mask length of the prefix-set
- before str
- Identifier of the next route filter to be considered
- created_
at str - (String) The date and time resource created.
- ex_
filter_ strid - Export route Filter identifier
- ge float
- The minimum matching length of the prefix-set
- le float
- The maximum matching length of the prefix-set
- updated_
at str - (String) The date and time AS Prepend was updated.
- action String
- Determines whether the routes that match the prefix-set will be permit or deny
- prefix String
- IP prefix representing an address and mask length of the prefix-set
- before String
- Identifier of the next route filter to be considered
- created
At String - (String) The date and time resource created.
- ex
Filter StringId - Export route Filter identifier
- ge Number
- The minimum matching length of the prefix-set
- le Number
- The maximum matching length of the prefix-set
- updated
At String - (String) The date and time AS Prepend was updated.
DlGatewayImportRouteFilter, DlGatewayImportRouteFilterArgs
- Action string
- Determines whether the routes that match the prefix-set will be permit or deny
- Prefix string
- IP prefix representing an address and mask length of the prefix-set
- Before string
- Identifier of the next route filter to be considered
- Created
At string - (String) The date and time resource created.
- Ge double
- The minimum matching length of the prefix-set
- Im
Filter stringId - Import route Filter identifier
- Le double
- The maximum matching length of the prefix-set
- Updated
At string - (String) The date and time AS Prepend was updated.
- Action string
- Determines whether the routes that match the prefix-set will be permit or deny
- Prefix string
- IP prefix representing an address and mask length of the prefix-set
- Before string
- Identifier of the next route filter to be considered
- Created
At string - (String) The date and time resource created.
- Ge float64
- The minimum matching length of the prefix-set
- Im
Filter stringId - Import route Filter identifier
- Le float64
- The maximum matching length of the prefix-set
- Updated
At string - (String) The date and time AS Prepend was updated.
- action String
- Determines whether the routes that match the prefix-set will be permit or deny
- prefix String
- IP prefix representing an address and mask length of the prefix-set
- before String
- Identifier of the next route filter to be considered
- created
At String - (String) The date and time resource created.
- ge Double
- The minimum matching length of the prefix-set
- im
Filter StringId - Import route Filter identifier
- le Double
- The maximum matching length of the prefix-set
- updated
At String - (String) The date and time AS Prepend was updated.
- action string
- Determines whether the routes that match the prefix-set will be permit or deny
- prefix string
- IP prefix representing an address and mask length of the prefix-set
- before string
- Identifier of the next route filter to be considered
- created
At string - (String) The date and time resource created.
- ge number
- The minimum matching length of the prefix-set
- im
Filter stringId - Import route Filter identifier
- le number
- The maximum matching length of the prefix-set
- updated
At string - (String) The date and time AS Prepend was updated.
- action str
- Determines whether the routes that match the prefix-set will be permit or deny
- prefix str
- IP prefix representing an address and mask length of the prefix-set
- before str
- Identifier of the next route filter to be considered
- created_
at str - (String) The date and time resource created.
- ge float
- The minimum matching length of the prefix-set
- im_
filter_ strid - Import route Filter identifier
- le float
- The maximum matching length of the prefix-set
- updated_
at str - (String) The date and time AS Prepend was updated.
- action String
- Determines whether the routes that match the prefix-set will be permit or deny
- prefix String
- IP prefix representing an address and mask length of the prefix-set
- before String
- Identifier of the next route filter to be considered
- created
At String - (String) The date and time resource created.
- ge Number
- The minimum matching length of the prefix-set
- im
Filter StringId - Import route Filter identifier
- le Number
- The maximum matching length of the prefix-set
- updated
At String - (String) The date and time AS Prepend was updated.
DlGatewayMacsecConfig, DlGatewayMacsecConfigArgs
- Active bool
- Indicate whether MACsec protection should be active (true) or inactive (false) for this MACsec enabled gateway
- Primary
Cak string - Desired primary connectivity association key. Keys for a MACsec configuration must have names with an even number of characters from [0-9a-fA-F]
- Active
Cak string - Active connectivity association key.
- Cipher
Suite string - SAK cipher suite
- Confidentiality
Offset double - Confidentiality Offset
- Cryptographic
Algorithm string - Cryptographic Algorithm
- Fallback
Cak string - Fallback connectivity association key. Keys used for MACsec configuration must have names with an even number of characters from [0-9a-fA-F]
- Key
Server doublePriority - Key Server Priority
- Sak
Expiry doubleTime - Secure Association Key (SAK) expiry time in seconds
- Security
Policy string - Packets without MACsec headers are not dropped when security_policy is should_secure.
- Status string
- The current status of MACsec on the device for this gateway
- Window
Size double - Replay protection window size
- Active bool
- Indicate whether MACsec protection should be active (true) or inactive (false) for this MACsec enabled gateway
- Primary
Cak string - Desired primary connectivity association key. Keys for a MACsec configuration must have names with an even number of characters from [0-9a-fA-F]
- Active
Cak string - Active connectivity association key.
- Cipher
Suite string - SAK cipher suite
- Confidentiality
Offset float64 - Confidentiality Offset
- Cryptographic
Algorithm string - Cryptographic Algorithm
- Fallback
Cak string - Fallback connectivity association key. Keys used for MACsec configuration must have names with an even number of characters from [0-9a-fA-F]
- Key
Server float64Priority - Key Server Priority
- Sak
Expiry float64Time - Secure Association Key (SAK) expiry time in seconds
- Security
Policy string - Packets without MACsec headers are not dropped when security_policy is should_secure.
- Status string
- The current status of MACsec on the device for this gateway
- Window
Size float64 - Replay protection window size
- active Boolean
- Indicate whether MACsec protection should be active (true) or inactive (false) for this MACsec enabled gateway
- primary
Cak String - Desired primary connectivity association key. Keys for a MACsec configuration must have names with an even number of characters from [0-9a-fA-F]
- active
Cak String - Active connectivity association key.
- cipher
Suite String - SAK cipher suite
- confidentiality
Offset Double - Confidentiality Offset
- cryptographic
Algorithm String - Cryptographic Algorithm
- fallback
Cak String - Fallback connectivity association key. Keys used for MACsec configuration must have names with an even number of characters from [0-9a-fA-F]
- key
Server DoublePriority - Key Server Priority
- sak
Expiry DoubleTime - Secure Association Key (SAK) expiry time in seconds
- security
Policy String - Packets without MACsec headers are not dropped when security_policy is should_secure.
- status String
- The current status of MACsec on the device for this gateway
- window
Size Double - Replay protection window size
- active boolean
- Indicate whether MACsec protection should be active (true) or inactive (false) for this MACsec enabled gateway
- primary
Cak string - Desired primary connectivity association key. Keys for a MACsec configuration must have names with an even number of characters from [0-9a-fA-F]
- active
Cak string - Active connectivity association key.
- cipher
Suite string - SAK cipher suite
- confidentiality
Offset number - Confidentiality Offset
- cryptographic
Algorithm string - Cryptographic Algorithm
- fallback
Cak string - Fallback connectivity association key. Keys used for MACsec configuration must have names with an even number of characters from [0-9a-fA-F]
- key
Server numberPriority - Key Server Priority
- sak
Expiry numberTime - Secure Association Key (SAK) expiry time in seconds
- security
Policy string - Packets without MACsec headers are not dropped when security_policy is should_secure.
- status string
- The current status of MACsec on the device for this gateway
- window
Size number - Replay protection window size
- active bool
- Indicate whether MACsec protection should be active (true) or inactive (false) for this MACsec enabled gateway
- primary_
cak str - Desired primary connectivity association key. Keys for a MACsec configuration must have names with an even number of characters from [0-9a-fA-F]
- active_
cak str - Active connectivity association key.
- cipher_
suite str - SAK cipher suite
- confidentiality_
offset float - Confidentiality Offset
- cryptographic_
algorithm str - Cryptographic Algorithm
- fallback_
cak str - Fallback connectivity association key. Keys used for MACsec configuration must have names with an even number of characters from [0-9a-fA-F]
- key_
server_ floatpriority - Key Server Priority
- sak_
expiry_ floattime - Secure Association Key (SAK) expiry time in seconds
- security_
policy str - Packets without MACsec headers are not dropped when security_policy is should_secure.
- status str
- The current status of MACsec on the device for this gateway
- window_
size float - Replay protection window size
- active Boolean
- Indicate whether MACsec protection should be active (true) or inactive (false) for this MACsec enabled gateway
- primary
Cak String - Desired primary connectivity association key. Keys for a MACsec configuration must have names with an even number of characters from [0-9a-fA-F]
- active
Cak String - Active connectivity association key.
- cipher
Suite String - SAK cipher suite
- confidentiality
Offset Number - Confidentiality Offset
- cryptographic
Algorithm String - Cryptographic Algorithm
- fallback
Cak String - Fallback connectivity association key. Keys used for MACsec configuration must have names with an even number of characters from [0-9a-fA-F]
- key
Server NumberPriority - Key Server Priority
- sak
Expiry NumberTime - Secure Association Key (SAK) expiry time in seconds
- security
Policy String - Packets without MACsec headers are not dropped when security_policy is should_secure.
- status String
- The current status of MACsec on the device for this gateway
- window
Size Number - Replay protection window size
DlGatewayTimeouts, DlGatewayTimeoutsArgs
Import
The ibm_dl_gateway
resource can be imported by using gateway ID.
Syntax
$ pulumi import ibm:index/dlGateway:DlGateway example <gateway_ID>
Example
$ pulumi import ibm:index/dlGateway:DlGateway example 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.