alicloud.expressconnect.VirtualBorderRouter
Explore with Pulumi AI
Provides a Express Connect Virtual Border Router resource.
For information about Express Connect Virtual Border Router and how to use it, see What is Virtual Border Router.
NOTE: Available since v1.134.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as random from "@pulumi/random";
const config = new pulumi.Config();
const name = config.get("name") || "tf-example";
const example = alicloud.expressconnect.getPhysicalConnections({
nameRegex: "^preserved-NODELETING",
});
const vlanId = new random.index.Integer("vlan_id", {
max: 2999,
min: 1,
});
const exampleVirtualBorderRouter = new alicloud.expressconnect.VirtualBorderRouter("example", {
localGatewayIp: "10.0.0.1",
peerGatewayIp: "10.0.0.2",
peeringSubnetMask: "255.255.255.252",
physicalConnectionId: example.then(example => example.connections?.[0]?.id),
virtualBorderRouterName: name,
vlanId: vlanId.id,
minRxInterval: 1000,
minTxInterval: 1000,
detectMultiplier: 10,
});
import pulumi
import pulumi_alicloud as alicloud
import pulumi_random as random
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf-example"
example = alicloud.expressconnect.get_physical_connections(name_regex="^preserved-NODELETING")
vlan_id = random.index.Integer("vlan_id",
max=2999,
min=1)
example_virtual_border_router = alicloud.expressconnect.VirtualBorderRouter("example",
local_gateway_ip="10.0.0.1",
peer_gateway_ip="10.0.0.2",
peering_subnet_mask="255.255.255.252",
physical_connection_id=example.connections[0].id,
virtual_border_router_name=name,
vlan_id=vlan_id["id"],
min_rx_interval=1000,
min_tx_interval=1000,
detect_multiplier=10)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/expressconnect"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "tf-example"
if param := cfg.Get("name"); param != "" {
name = param
}
example, err := expressconnect.GetPhysicalConnections(ctx, &expressconnect.GetPhysicalConnectionsArgs{
NameRegex: pulumi.StringRef("^preserved-NODELETING"),
}, nil)
if err != nil {
return err
}
vlanId, err := random.NewInteger(ctx, "vlan_id", &random.IntegerArgs{
Max: 2999,
Min: 1,
})
if err != nil {
return err
}
_, err = expressconnect.NewVirtualBorderRouter(ctx, "example", &expressconnect.VirtualBorderRouterArgs{
LocalGatewayIp: pulumi.String("10.0.0.1"),
PeerGatewayIp: pulumi.String("10.0.0.2"),
PeeringSubnetMask: pulumi.String("255.255.255.252"),
PhysicalConnectionId: pulumi.String(example.Connections[0].Id),
VirtualBorderRouterName: pulumi.String(name),
VlanId: vlanId.Id,
MinRxInterval: pulumi.Int(1000),
MinTxInterval: pulumi.Int(1000),
DetectMultiplier: pulumi.Int(10),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tf-example";
var example = AliCloud.ExpressConnect.GetPhysicalConnections.Invoke(new()
{
NameRegex = "^preserved-NODELETING",
});
var vlanId = new Random.Index.Integer("vlan_id", new()
{
Max = 2999,
Min = 1,
});
var exampleVirtualBorderRouter = new AliCloud.ExpressConnect.VirtualBorderRouter("example", new()
{
LocalGatewayIp = "10.0.0.1",
PeerGatewayIp = "10.0.0.2",
PeeringSubnetMask = "255.255.255.252",
PhysicalConnectionId = example.Apply(getPhysicalConnectionsResult => getPhysicalConnectionsResult.Connections[0]?.Id),
VirtualBorderRouterName = name,
VlanId = vlanId.Id,
MinRxInterval = 1000,
MinTxInterval = 1000,
DetectMultiplier = 10,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.expressconnect.ExpressconnectFunctions;
import com.pulumi.alicloud.expressconnect.inputs.GetPhysicalConnectionsArgs;
import com.pulumi.random.integer;
import com.pulumi.random.IntegerArgs;
import com.pulumi.alicloud.expressconnect.VirtualBorderRouter;
import com.pulumi.alicloud.expressconnect.VirtualBorderRouterArgs;
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 config = ctx.config();
final var name = config.get("name").orElse("tf-example");
final var example = ExpressconnectFunctions.getPhysicalConnections(GetPhysicalConnectionsArgs.builder()
.nameRegex("^preserved-NODELETING")
.build());
var vlanId = new Integer("vlanId", IntegerArgs.builder()
.max(2999)
.min(1)
.build());
var exampleVirtualBorderRouter = new VirtualBorderRouter("exampleVirtualBorderRouter", VirtualBorderRouterArgs.builder()
.localGatewayIp("10.0.0.1")
.peerGatewayIp("10.0.0.2")
.peeringSubnetMask("255.255.255.252")
.physicalConnectionId(example.applyValue(getPhysicalConnectionsResult -> getPhysicalConnectionsResult.connections()[0].id()))
.virtualBorderRouterName(name)
.vlanId(vlanId.id())
.minRxInterval(1000)
.minTxInterval(1000)
.detectMultiplier(10)
.build());
}
}
configuration:
name:
type: string
default: tf-example
resources:
vlanId:
type: random:integer
name: vlan_id
properties:
max: 2999
min: 1
exampleVirtualBorderRouter:
type: alicloud:expressconnect:VirtualBorderRouter
name: example
properties:
localGatewayIp: 10.0.0.1
peerGatewayIp: 10.0.0.2
peeringSubnetMask: 255.255.255.252
physicalConnectionId: ${example.connections[0].id}
virtualBorderRouterName: ${name}
vlanId: ${vlanId.id}
minRxInterval: 1000
minTxInterval: 1000
detectMultiplier: 10
variables:
example:
fn::invoke:
Function: alicloud:expressconnect:getPhysicalConnections
Arguments:
nameRegex: ^preserved-NODELETING
Create VirtualBorderRouter Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualBorderRouter(name: string, args: VirtualBorderRouterArgs, opts?: CustomResourceOptions);
@overload
def VirtualBorderRouter(resource_name: str,
args: VirtualBorderRouterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualBorderRouter(resource_name: str,
opts: Optional[ResourceOptions] = None,
local_gateway_ip: Optional[str] = None,
vlan_id: Optional[int] = None,
physical_connection_id: Optional[str] = None,
peering_subnet_mask: Optional[str] = None,
peer_gateway_ip: Optional[str] = None,
enable_ipv6: Optional[bool] = None,
peer_ipv6_gateway_ip: Optional[str] = None,
associated_physical_connections: Optional[str] = None,
local_ipv6_gateway_ip: Optional[str] = None,
min_rx_interval: Optional[int] = None,
min_tx_interval: Optional[int] = None,
detect_multiplier: Optional[int] = None,
include_cross_account_vbr: Optional[bool] = None,
peering_ipv6_subnet_mask: Optional[str] = None,
description: Optional[str] = None,
circuit_code: Optional[str] = None,
status: Optional[str] = None,
vbr_owner_id: Optional[str] = None,
virtual_border_router_name: Optional[str] = None,
bandwidth: Optional[int] = None)
func NewVirtualBorderRouter(ctx *Context, name string, args VirtualBorderRouterArgs, opts ...ResourceOption) (*VirtualBorderRouter, error)
public VirtualBorderRouter(string name, VirtualBorderRouterArgs args, CustomResourceOptions? opts = null)
public VirtualBorderRouter(String name, VirtualBorderRouterArgs args)
public VirtualBorderRouter(String name, VirtualBorderRouterArgs args, CustomResourceOptions options)
type: alicloud:expressconnect:VirtualBorderRouter
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 VirtualBorderRouterArgs
- 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 VirtualBorderRouterArgs
- 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 VirtualBorderRouterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualBorderRouterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VirtualBorderRouterArgs
- 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 virtualBorderRouterResource = new AliCloud.ExpressConnect.VirtualBorderRouter("virtualBorderRouterResource", new()
{
LocalGatewayIp = "string",
VlanId = 0,
PhysicalConnectionId = "string",
PeeringSubnetMask = "string",
PeerGatewayIp = "string",
EnableIpv6 = false,
PeerIpv6GatewayIp = "string",
AssociatedPhysicalConnections = "string",
LocalIpv6GatewayIp = "string",
MinRxInterval = 0,
MinTxInterval = 0,
DetectMultiplier = 0,
IncludeCrossAccountVbr = false,
PeeringIpv6SubnetMask = "string",
Description = "string",
CircuitCode = "string",
Status = "string",
VbrOwnerId = "string",
VirtualBorderRouterName = "string",
Bandwidth = 0,
});
example, err := expressconnect.NewVirtualBorderRouter(ctx, "virtualBorderRouterResource", &expressconnect.VirtualBorderRouterArgs{
LocalGatewayIp: pulumi.String("string"),
VlanId: pulumi.Int(0),
PhysicalConnectionId: pulumi.String("string"),
PeeringSubnetMask: pulumi.String("string"),
PeerGatewayIp: pulumi.String("string"),
EnableIpv6: pulumi.Bool(false),
PeerIpv6GatewayIp: pulumi.String("string"),
AssociatedPhysicalConnections: pulumi.String("string"),
LocalIpv6GatewayIp: pulumi.String("string"),
MinRxInterval: pulumi.Int(0),
MinTxInterval: pulumi.Int(0),
DetectMultiplier: pulumi.Int(0),
IncludeCrossAccountVbr: pulumi.Bool(false),
PeeringIpv6SubnetMask: pulumi.String("string"),
Description: pulumi.String("string"),
CircuitCode: pulumi.String("string"),
Status: pulumi.String("string"),
VbrOwnerId: pulumi.String("string"),
VirtualBorderRouterName: pulumi.String("string"),
Bandwidth: pulumi.Int(0),
})
var virtualBorderRouterResource = new VirtualBorderRouter("virtualBorderRouterResource", VirtualBorderRouterArgs.builder()
.localGatewayIp("string")
.vlanId(0)
.physicalConnectionId("string")
.peeringSubnetMask("string")
.peerGatewayIp("string")
.enableIpv6(false)
.peerIpv6GatewayIp("string")
.associatedPhysicalConnections("string")
.localIpv6GatewayIp("string")
.minRxInterval(0)
.minTxInterval(0)
.detectMultiplier(0)
.includeCrossAccountVbr(false)
.peeringIpv6SubnetMask("string")
.description("string")
.circuitCode("string")
.status("string")
.vbrOwnerId("string")
.virtualBorderRouterName("string")
.bandwidth(0)
.build());
virtual_border_router_resource = alicloud.expressconnect.VirtualBorderRouter("virtualBorderRouterResource",
local_gateway_ip="string",
vlan_id=0,
physical_connection_id="string",
peering_subnet_mask="string",
peer_gateway_ip="string",
enable_ipv6=False,
peer_ipv6_gateway_ip="string",
associated_physical_connections="string",
local_ipv6_gateway_ip="string",
min_rx_interval=0,
min_tx_interval=0,
detect_multiplier=0,
include_cross_account_vbr=False,
peering_ipv6_subnet_mask="string",
description="string",
circuit_code="string",
status="string",
vbr_owner_id="string",
virtual_border_router_name="string",
bandwidth=0)
const virtualBorderRouterResource = new alicloud.expressconnect.VirtualBorderRouter("virtualBorderRouterResource", {
localGatewayIp: "string",
vlanId: 0,
physicalConnectionId: "string",
peeringSubnetMask: "string",
peerGatewayIp: "string",
enableIpv6: false,
peerIpv6GatewayIp: "string",
associatedPhysicalConnections: "string",
localIpv6GatewayIp: "string",
minRxInterval: 0,
minTxInterval: 0,
detectMultiplier: 0,
includeCrossAccountVbr: false,
peeringIpv6SubnetMask: "string",
description: "string",
circuitCode: "string",
status: "string",
vbrOwnerId: "string",
virtualBorderRouterName: "string",
bandwidth: 0,
});
type: alicloud:expressconnect:VirtualBorderRouter
properties:
associatedPhysicalConnections: string
bandwidth: 0
circuitCode: string
description: string
detectMultiplier: 0
enableIpv6: false
includeCrossAccountVbr: false
localGatewayIp: string
localIpv6GatewayIp: string
minRxInterval: 0
minTxInterval: 0
peerGatewayIp: string
peerIpv6GatewayIp: string
peeringIpv6SubnetMask: string
peeringSubnetMask: string
physicalConnectionId: string
status: string
vbrOwnerId: string
virtualBorderRouterName: string
vlanId: 0
VirtualBorderRouter Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The VirtualBorderRouter resource accepts the following input properties:
- Local
Gateway stringIp - Alibaba Cloud-Connected IPv4 address.
- Peer
Gateway stringIp - The Client-Side Interconnection IPv4 Address.
- Peering
Subnet stringMask - Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
- Physical
Connection stringId - The ID of the Physical Connection to Which the ID.
- Vlan
Id int - The VLAN ID of the VBR. Value range: 0~2999.
- Associated
Physical stringConnections - The associated physical connections.
- Bandwidth int
- The bandwidth.
- Circuit
Code string - Operators for physical connection circuit provided coding.
- Description string
- The description of VBR. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.
- Detect
Multiplier int - Detection time multiplier that recipient allows the sender to send a message of the maximum allowable connections for the number of packets, used to detect whether the link normal. Value: 3~10.
- Enable
Ipv6 bool - Whether to Enable IPv6. Valid values:
false
,true
. - Include
Cross boolAccount Vbr - Whether cross account border routers are included. Valid values:
false
,true
. Default:true
. - Local
Ipv6Gateway stringIp - Alibaba Cloud-Connected IPv6 Address.
- Min
Rx intInterval - Configure BFD packet reception interval of values include: 200~1000, unit: ms.
- Min
Tx intInterval - Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
- Peer
Ipv6Gateway stringIp - The Client-Side Interconnection IPv6 Address.
- Peering
Ipv6Subnet stringMask - Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
- Status string
- The instance state. Valid values:
active
,deleting
,recovering
,terminated
,terminating
,unconfirmed
. - Vbr
Owner stringId - The vbr owner id.
- Virtual
Border stringRouter Name - The name of VBR. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, the underscore character (_) and dash (-). But do not start with http:// or https:// at the beginning.
- Local
Gateway stringIp - Alibaba Cloud-Connected IPv4 address.
- Peer
Gateway stringIp - The Client-Side Interconnection IPv4 Address.
- Peering
Subnet stringMask - Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
- Physical
Connection stringId - The ID of the Physical Connection to Which the ID.
- Vlan
Id int - The VLAN ID of the VBR. Value range: 0~2999.
- Associated
Physical stringConnections - The associated physical connections.
- Bandwidth int
- The bandwidth.
- Circuit
Code string - Operators for physical connection circuit provided coding.
- Description string
- The description of VBR. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.
- Detect
Multiplier int - Detection time multiplier that recipient allows the sender to send a message of the maximum allowable connections for the number of packets, used to detect whether the link normal. Value: 3~10.
- Enable
Ipv6 bool - Whether to Enable IPv6. Valid values:
false
,true
. - Include
Cross boolAccount Vbr - Whether cross account border routers are included. Valid values:
false
,true
. Default:true
. - Local
Ipv6Gateway stringIp - Alibaba Cloud-Connected IPv6 Address.
- Min
Rx intInterval - Configure BFD packet reception interval of values include: 200~1000, unit: ms.
- Min
Tx intInterval - Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
- Peer
Ipv6Gateway stringIp - The Client-Side Interconnection IPv6 Address.
- Peering
Ipv6Subnet stringMask - Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
- Status string
- The instance state. Valid values:
active
,deleting
,recovering
,terminated
,terminating
,unconfirmed
. - Vbr
Owner stringId - The vbr owner id.
- Virtual
Border stringRouter Name - The name of VBR. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, the underscore character (_) and dash (-). But do not start with http:// or https:// at the beginning.
- local
Gateway StringIp - Alibaba Cloud-Connected IPv4 address.
- peer
Gateway StringIp - The Client-Side Interconnection IPv4 Address.
- peering
Subnet StringMask - Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
- physical
Connection StringId - The ID of the Physical Connection to Which the ID.
- vlan
Id Integer - The VLAN ID of the VBR. Value range: 0~2999.
- associated
Physical StringConnections - The associated physical connections.
- bandwidth Integer
- The bandwidth.
- circuit
Code String - Operators for physical connection circuit provided coding.
- description String
- The description of VBR. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.
- detect
Multiplier Integer - Detection time multiplier that recipient allows the sender to send a message of the maximum allowable connections for the number of packets, used to detect whether the link normal. Value: 3~10.
- enable
Ipv6 Boolean - Whether to Enable IPv6. Valid values:
false
,true
. - include
Cross BooleanAccount Vbr - Whether cross account border routers are included. Valid values:
false
,true
. Default:true
. - local
Ipv6Gateway StringIp - Alibaba Cloud-Connected IPv6 Address.
- min
Rx IntegerInterval - Configure BFD packet reception interval of values include: 200~1000, unit: ms.
- min
Tx IntegerInterval - Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
- peer
Ipv6Gateway StringIp - The Client-Side Interconnection IPv6 Address.
- peering
Ipv6Subnet StringMask - Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
- status String
- The instance state. Valid values:
active
,deleting
,recovering
,terminated
,terminating
,unconfirmed
. - vbr
Owner StringId - The vbr owner id.
- virtual
Border StringRouter Name - The name of VBR. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, the underscore character (_) and dash (-). But do not start with http:// or https:// at the beginning.
- local
Gateway stringIp - Alibaba Cloud-Connected IPv4 address.
- peer
Gateway stringIp - The Client-Side Interconnection IPv4 Address.
- peering
Subnet stringMask - Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
- physical
Connection stringId - The ID of the Physical Connection to Which the ID.
- vlan
Id number - The VLAN ID of the VBR. Value range: 0~2999.
- associated
Physical stringConnections - The associated physical connections.
- bandwidth number
- The bandwidth.
- circuit
Code string - Operators for physical connection circuit provided coding.
- description string
- The description of VBR. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.
- detect
Multiplier number - Detection time multiplier that recipient allows the sender to send a message of the maximum allowable connections for the number of packets, used to detect whether the link normal. Value: 3~10.
- enable
Ipv6 boolean - Whether to Enable IPv6. Valid values:
false
,true
. - include
Cross booleanAccount Vbr - Whether cross account border routers are included. Valid values:
false
,true
. Default:true
. - local
Ipv6Gateway stringIp - Alibaba Cloud-Connected IPv6 Address.
- min
Rx numberInterval - Configure BFD packet reception interval of values include: 200~1000, unit: ms.
- min
Tx numberInterval - Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
- peer
Ipv6Gateway stringIp - The Client-Side Interconnection IPv6 Address.
- peering
Ipv6Subnet stringMask - Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
- status string
- The instance state. Valid values:
active
,deleting
,recovering
,terminated
,terminating
,unconfirmed
. - vbr
Owner stringId - The vbr owner id.
- virtual
Border stringRouter Name - The name of VBR. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, the underscore character (_) and dash (-). But do not start with http:// or https:// at the beginning.
- local_
gateway_ strip - Alibaba Cloud-Connected IPv4 address.
- peer_
gateway_ strip - The Client-Side Interconnection IPv4 Address.
- peering_
subnet_ strmask - Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
- physical_
connection_ strid - The ID of the Physical Connection to Which the ID.
- vlan_
id int - The VLAN ID of the VBR. Value range: 0~2999.
- associated_
physical_ strconnections - The associated physical connections.
- bandwidth int
- The bandwidth.
- circuit_
code str - Operators for physical connection circuit provided coding.
- description str
- The description of VBR. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.
- detect_
multiplier int - Detection time multiplier that recipient allows the sender to send a message of the maximum allowable connections for the number of packets, used to detect whether the link normal. Value: 3~10.
- enable_
ipv6 bool - Whether to Enable IPv6. Valid values:
false
,true
. - include_
cross_ boolaccount_ vbr - Whether cross account border routers are included. Valid values:
false
,true
. Default:true
. - local_
ipv6_ strgateway_ ip - Alibaba Cloud-Connected IPv6 Address.
- min_
rx_ intinterval - Configure BFD packet reception interval of values include: 200~1000, unit: ms.
- min_
tx_ intinterval - Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
- peer_
ipv6_ strgateway_ ip - The Client-Side Interconnection IPv6 Address.
- peering_
ipv6_ strsubnet_ mask - Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
- status str
- The instance state. Valid values:
active
,deleting
,recovering
,terminated
,terminating
,unconfirmed
. - vbr_
owner_ strid - The vbr owner id.
- virtual_
border_ strrouter_ name - The name of VBR. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, the underscore character (_) and dash (-). But do not start with http:// or https:// at the beginning.
- local
Gateway StringIp - Alibaba Cloud-Connected IPv4 address.
- peer
Gateway StringIp - The Client-Side Interconnection IPv4 Address.
- peering
Subnet StringMask - Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
- physical
Connection StringId - The ID of the Physical Connection to Which the ID.
- vlan
Id Number - The VLAN ID of the VBR. Value range: 0~2999.
- associated
Physical StringConnections - The associated physical connections.
- bandwidth Number
- The bandwidth.
- circuit
Code String - Operators for physical connection circuit provided coding.
- description String
- The description of VBR. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.
- detect
Multiplier Number - Detection time multiplier that recipient allows the sender to send a message of the maximum allowable connections for the number of packets, used to detect whether the link normal. Value: 3~10.
- enable
Ipv6 Boolean - Whether to Enable IPv6. Valid values:
false
,true
. - include
Cross BooleanAccount Vbr - Whether cross account border routers are included. Valid values:
false
,true
. Default:true
. - local
Ipv6Gateway StringIp - Alibaba Cloud-Connected IPv6 Address.
- min
Rx NumberInterval - Configure BFD packet reception interval of values include: 200~1000, unit: ms.
- min
Tx NumberInterval - Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
- peer
Ipv6Gateway StringIp - The Client-Side Interconnection IPv6 Address.
- peering
Ipv6Subnet StringMask - Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
- status String
- The instance state. Valid values:
active
,deleting
,recovering
,terminated
,terminating
,unconfirmed
. - vbr
Owner StringId - The vbr owner id.
- virtual
Border StringRouter Name - The name of VBR. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, the underscore character (_) and dash (-). But do not start with http:// or https:// at the beginning.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualBorderRouter resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Route
Table stringId - (Available in v1.166.0+) The Route Table ID Of the Virtual Border Router.
- Id string
- The provider-assigned unique ID for this managed resource.
- Route
Table stringId - (Available in v1.166.0+) The Route Table ID Of the Virtual Border Router.
- id String
- The provider-assigned unique ID for this managed resource.
- route
Table StringId - (Available in v1.166.0+) The Route Table ID Of the Virtual Border Router.
- id string
- The provider-assigned unique ID for this managed resource.
- route
Table stringId - (Available in v1.166.0+) The Route Table ID Of the Virtual Border Router.
- id str
- The provider-assigned unique ID for this managed resource.
- route_
table_ strid - (Available in v1.166.0+) The Route Table ID Of the Virtual Border Router.
- id String
- The provider-assigned unique ID for this managed resource.
- route
Table StringId - (Available in v1.166.0+) The Route Table ID Of the Virtual Border Router.
Look up Existing VirtualBorderRouter Resource
Get an existing VirtualBorderRouter 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?: VirtualBorderRouterState, opts?: CustomResourceOptions): VirtualBorderRouter
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
associated_physical_connections: Optional[str] = None,
bandwidth: Optional[int] = None,
circuit_code: Optional[str] = None,
description: Optional[str] = None,
detect_multiplier: Optional[int] = None,
enable_ipv6: Optional[bool] = None,
include_cross_account_vbr: Optional[bool] = None,
local_gateway_ip: Optional[str] = None,
local_ipv6_gateway_ip: Optional[str] = None,
min_rx_interval: Optional[int] = None,
min_tx_interval: Optional[int] = None,
peer_gateway_ip: Optional[str] = None,
peer_ipv6_gateway_ip: Optional[str] = None,
peering_ipv6_subnet_mask: Optional[str] = None,
peering_subnet_mask: Optional[str] = None,
physical_connection_id: Optional[str] = None,
route_table_id: Optional[str] = None,
status: Optional[str] = None,
vbr_owner_id: Optional[str] = None,
virtual_border_router_name: Optional[str] = None,
vlan_id: Optional[int] = None) -> VirtualBorderRouter
func GetVirtualBorderRouter(ctx *Context, name string, id IDInput, state *VirtualBorderRouterState, opts ...ResourceOption) (*VirtualBorderRouter, error)
public static VirtualBorderRouter Get(string name, Input<string> id, VirtualBorderRouterState? state, CustomResourceOptions? opts = null)
public static VirtualBorderRouter get(String name, Output<String> id, VirtualBorderRouterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Associated
Physical stringConnections - The associated physical connections.
- Bandwidth int
- The bandwidth.
- Circuit
Code string - Operators for physical connection circuit provided coding.
- Description string
- The description of VBR. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.
- Detect
Multiplier int - Detection time multiplier that recipient allows the sender to send a message of the maximum allowable connections for the number of packets, used to detect whether the link normal. Value: 3~10.
- Enable
Ipv6 bool - Whether to Enable IPv6. Valid values:
false
,true
. - Include
Cross boolAccount Vbr - Whether cross account border routers are included. Valid values:
false
,true
. Default:true
. - Local
Gateway stringIp - Alibaba Cloud-Connected IPv4 address.
- Local
Ipv6Gateway stringIp - Alibaba Cloud-Connected IPv6 Address.
- Min
Rx intInterval - Configure BFD packet reception interval of values include: 200~1000, unit: ms.
- Min
Tx intInterval - Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
- Peer
Gateway stringIp - The Client-Side Interconnection IPv4 Address.
- Peer
Ipv6Gateway stringIp - The Client-Side Interconnection IPv6 Address.
- Peering
Ipv6Subnet stringMask - Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
- Peering
Subnet stringMask - Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
- Physical
Connection stringId - The ID of the Physical Connection to Which the ID.
- Route
Table stringId - (Available in v1.166.0+) The Route Table ID Of the Virtual Border Router.
- Status string
- The instance state. Valid values:
active
,deleting
,recovering
,terminated
,terminating
,unconfirmed
. - Vbr
Owner stringId - The vbr owner id.
- Virtual
Border stringRouter Name - The name of VBR. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, the underscore character (_) and dash (-). But do not start with http:// or https:// at the beginning.
- Vlan
Id int - The VLAN ID of the VBR. Value range: 0~2999.
- Associated
Physical stringConnections - The associated physical connections.
- Bandwidth int
- The bandwidth.
- Circuit
Code string - Operators for physical connection circuit provided coding.
- Description string
- The description of VBR. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.
- Detect
Multiplier int - Detection time multiplier that recipient allows the sender to send a message of the maximum allowable connections for the number of packets, used to detect whether the link normal. Value: 3~10.
- Enable
Ipv6 bool - Whether to Enable IPv6. Valid values:
false
,true
. - Include
Cross boolAccount Vbr - Whether cross account border routers are included. Valid values:
false
,true
. Default:true
. - Local
Gateway stringIp - Alibaba Cloud-Connected IPv4 address.
- Local
Ipv6Gateway stringIp - Alibaba Cloud-Connected IPv6 Address.
- Min
Rx intInterval - Configure BFD packet reception interval of values include: 200~1000, unit: ms.
- Min
Tx intInterval - Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
- Peer
Gateway stringIp - The Client-Side Interconnection IPv4 Address.
- Peer
Ipv6Gateway stringIp - The Client-Side Interconnection IPv6 Address.
- Peering
Ipv6Subnet stringMask - Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
- Peering
Subnet stringMask - Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
- Physical
Connection stringId - The ID of the Physical Connection to Which the ID.
- Route
Table stringId - (Available in v1.166.0+) The Route Table ID Of the Virtual Border Router.
- Status string
- The instance state. Valid values:
active
,deleting
,recovering
,terminated
,terminating
,unconfirmed
. - Vbr
Owner stringId - The vbr owner id.
- Virtual
Border stringRouter Name - The name of VBR. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, the underscore character (_) and dash (-). But do not start with http:// or https:// at the beginning.
- Vlan
Id int - The VLAN ID of the VBR. Value range: 0~2999.
- associated
Physical StringConnections - The associated physical connections.
- bandwidth Integer
- The bandwidth.
- circuit
Code String - Operators for physical connection circuit provided coding.
- description String
- The description of VBR. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.
- detect
Multiplier Integer - Detection time multiplier that recipient allows the sender to send a message of the maximum allowable connections for the number of packets, used to detect whether the link normal. Value: 3~10.
- enable
Ipv6 Boolean - Whether to Enable IPv6. Valid values:
false
,true
. - include
Cross BooleanAccount Vbr - Whether cross account border routers are included. Valid values:
false
,true
. Default:true
. - local
Gateway StringIp - Alibaba Cloud-Connected IPv4 address.
- local
Ipv6Gateway StringIp - Alibaba Cloud-Connected IPv6 Address.
- min
Rx IntegerInterval - Configure BFD packet reception interval of values include: 200~1000, unit: ms.
- min
Tx IntegerInterval - Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
- peer
Gateway StringIp - The Client-Side Interconnection IPv4 Address.
- peer
Ipv6Gateway StringIp - The Client-Side Interconnection IPv6 Address.
- peering
Ipv6Subnet StringMask - Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
- peering
Subnet StringMask - Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
- physical
Connection StringId - The ID of the Physical Connection to Which the ID.
- route
Table StringId - (Available in v1.166.0+) The Route Table ID Of the Virtual Border Router.
- status String
- The instance state. Valid values:
active
,deleting
,recovering
,terminated
,terminating
,unconfirmed
. - vbr
Owner StringId - The vbr owner id.
- virtual
Border StringRouter Name - The name of VBR. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, the underscore character (_) and dash (-). But do not start with http:// or https:// at the beginning.
- vlan
Id Integer - The VLAN ID of the VBR. Value range: 0~2999.
- associated
Physical stringConnections - The associated physical connections.
- bandwidth number
- The bandwidth.
- circuit
Code string - Operators for physical connection circuit provided coding.
- description string
- The description of VBR. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.
- detect
Multiplier number - Detection time multiplier that recipient allows the sender to send a message of the maximum allowable connections for the number of packets, used to detect whether the link normal. Value: 3~10.
- enable
Ipv6 boolean - Whether to Enable IPv6. Valid values:
false
,true
. - include
Cross booleanAccount Vbr - Whether cross account border routers are included. Valid values:
false
,true
. Default:true
. - local
Gateway stringIp - Alibaba Cloud-Connected IPv4 address.
- local
Ipv6Gateway stringIp - Alibaba Cloud-Connected IPv6 Address.
- min
Rx numberInterval - Configure BFD packet reception interval of values include: 200~1000, unit: ms.
- min
Tx numberInterval - Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
- peer
Gateway stringIp - The Client-Side Interconnection IPv4 Address.
- peer
Ipv6Gateway stringIp - The Client-Side Interconnection IPv6 Address.
- peering
Ipv6Subnet stringMask - Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
- peering
Subnet stringMask - Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
- physical
Connection stringId - The ID of the Physical Connection to Which the ID.
- route
Table stringId - (Available in v1.166.0+) The Route Table ID Of the Virtual Border Router.
- status string
- The instance state. Valid values:
active
,deleting
,recovering
,terminated
,terminating
,unconfirmed
. - vbr
Owner stringId - The vbr owner id.
- virtual
Border stringRouter Name - The name of VBR. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, the underscore character (_) and dash (-). But do not start with http:// or https:// at the beginning.
- vlan
Id number - The VLAN ID of the VBR. Value range: 0~2999.
- associated_
physical_ strconnections - The associated physical connections.
- bandwidth int
- The bandwidth.
- circuit_
code str - Operators for physical connection circuit provided coding.
- description str
- The description of VBR. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.
- detect_
multiplier int - Detection time multiplier that recipient allows the sender to send a message of the maximum allowable connections for the number of packets, used to detect whether the link normal. Value: 3~10.
- enable_
ipv6 bool - Whether to Enable IPv6. Valid values:
false
,true
. - include_
cross_ boolaccount_ vbr - Whether cross account border routers are included. Valid values:
false
,true
. Default:true
. - local_
gateway_ strip - Alibaba Cloud-Connected IPv4 address.
- local_
ipv6_ strgateway_ ip - Alibaba Cloud-Connected IPv6 Address.
- min_
rx_ intinterval - Configure BFD packet reception interval of values include: 200~1000, unit: ms.
- min_
tx_ intinterval - Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
- peer_
gateway_ strip - The Client-Side Interconnection IPv4 Address.
- peer_
ipv6_ strgateway_ ip - The Client-Side Interconnection IPv6 Address.
- peering_
ipv6_ strsubnet_ mask - Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
- peering_
subnet_ strmask - Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
- physical_
connection_ strid - The ID of the Physical Connection to Which the ID.
- route_
table_ strid - (Available in v1.166.0+) The Route Table ID Of the Virtual Border Router.
- status str
- The instance state. Valid values:
active
,deleting
,recovering
,terminated
,terminating
,unconfirmed
. - vbr_
owner_ strid - The vbr owner id.
- virtual_
border_ strrouter_ name - The name of VBR. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, the underscore character (_) and dash (-). But do not start with http:// or https:// at the beginning.
- vlan_
id int - The VLAN ID of the VBR. Value range: 0~2999.
- associated
Physical StringConnections - The associated physical connections.
- bandwidth Number
- The bandwidth.
- circuit
Code String - Operators for physical connection circuit provided coding.
- description String
- The description of VBR. Length is from 2 to 256 characters, must start with a letter or the Chinese at the beginning, but not at the http:// Or https:// at the beginning.
- detect
Multiplier Number - Detection time multiplier that recipient allows the sender to send a message of the maximum allowable connections for the number of packets, used to detect whether the link normal. Value: 3~10.
- enable
Ipv6 Boolean - Whether to Enable IPv6. Valid values:
false
,true
. - include
Cross BooleanAccount Vbr - Whether cross account border routers are included. Valid values:
false
,true
. Default:true
. - local
Gateway StringIp - Alibaba Cloud-Connected IPv4 address.
- local
Ipv6Gateway StringIp - Alibaba Cloud-Connected IPv6 Address.
- min
Rx NumberInterval - Configure BFD packet reception interval of values include: 200~1000, unit: ms.
- min
Tx NumberInterval - Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
- peer
Gateway StringIp - The Client-Side Interconnection IPv4 Address.
- peer
Ipv6Gateway StringIp - The Client-Side Interconnection IPv6 Address.
- peering
Ipv6Subnet StringMask - Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
- peering
Subnet StringMask - Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
- physical
Connection StringId - The ID of the Physical Connection to Which the ID.
- route
Table StringId - (Available in v1.166.0+) The Route Table ID Of the Virtual Border Router.
- status String
- The instance state. Valid values:
active
,deleting
,recovering
,terminated
,terminating
,unconfirmed
. - vbr
Owner StringId - The vbr owner id.
- virtual
Border StringRouter Name - The name of VBR. Length is from 2 to 128 characters, must start with a letter or the Chinese at the beginning can contain numbers, the underscore character (_) and dash (-). But do not start with http:// or https:// at the beginning.
- vlan
Id Number - The VLAN ID of the VBR. Value range: 0~2999.
Import
Express Connect Virtual Border Router can be imported using the id, e.g.
$ pulumi import alicloud:expressconnect/virtualBorderRouter:VirtualBorderRouter example <id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.