1. Packages
  2. Alicloud Provider
  3. API Docs
  4. expressconnect
  5. VirtualBorderRouter
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

alicloud.expressconnect.VirtualBorderRouter

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

    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:

    LocalGatewayIp string
    Alibaba Cloud-Connected IPv4 address.
    PeerGatewayIp string
    The Client-Side Interconnection IPv4 Address.
    PeeringSubnetMask string
    Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
    PhysicalConnectionId string
    The ID of the Physical Connection to Which the ID.
    VlanId int
    The VLAN ID of the VBR. Value range: 0~2999.
    AssociatedPhysicalConnections string
    The associated physical connections.
    Bandwidth int
    The bandwidth.
    CircuitCode 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.
    DetectMultiplier 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.
    EnableIpv6 bool
    Whether to Enable IPv6. Valid values: false, true.
    IncludeCrossAccountVbr bool
    Whether cross account border routers are included. Valid values: false, true. Default: true.
    LocalIpv6GatewayIp string
    Alibaba Cloud-Connected IPv6 Address.
    MinRxInterval int
    Configure BFD packet reception interval of values include: 200~1000, unit: ms.
    MinTxInterval int
    Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
    PeerIpv6GatewayIp string
    The Client-Side Interconnection IPv6 Address.
    PeeringIpv6SubnetMask string
    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.
    VbrOwnerId string
    The vbr owner id.
    VirtualBorderRouterName string
    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.
    LocalGatewayIp string
    Alibaba Cloud-Connected IPv4 address.
    PeerGatewayIp string
    The Client-Side Interconnection IPv4 Address.
    PeeringSubnetMask string
    Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
    PhysicalConnectionId string
    The ID of the Physical Connection to Which the ID.
    VlanId int
    The VLAN ID of the VBR. Value range: 0~2999.
    AssociatedPhysicalConnections string
    The associated physical connections.
    Bandwidth int
    The bandwidth.
    CircuitCode 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.
    DetectMultiplier 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.
    EnableIpv6 bool
    Whether to Enable IPv6. Valid values: false, true.
    IncludeCrossAccountVbr bool
    Whether cross account border routers are included. Valid values: false, true. Default: true.
    LocalIpv6GatewayIp string
    Alibaba Cloud-Connected IPv6 Address.
    MinRxInterval int
    Configure BFD packet reception interval of values include: 200~1000, unit: ms.
    MinTxInterval int
    Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
    PeerIpv6GatewayIp string
    The Client-Side Interconnection IPv6 Address.
    PeeringIpv6SubnetMask string
    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.
    VbrOwnerId string
    The vbr owner id.
    VirtualBorderRouterName string
    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.
    localGatewayIp String
    Alibaba Cloud-Connected IPv4 address.
    peerGatewayIp String
    The Client-Side Interconnection IPv4 Address.
    peeringSubnetMask String
    Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
    physicalConnectionId String
    The ID of the Physical Connection to Which the ID.
    vlanId Integer
    The VLAN ID of the VBR. Value range: 0~2999.
    associatedPhysicalConnections String
    The associated physical connections.
    bandwidth Integer
    The bandwidth.
    circuitCode 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.
    detectMultiplier 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.
    enableIpv6 Boolean
    Whether to Enable IPv6. Valid values: false, true.
    includeCrossAccountVbr Boolean
    Whether cross account border routers are included. Valid values: false, true. Default: true.
    localIpv6GatewayIp String
    Alibaba Cloud-Connected IPv6 Address.
    minRxInterval Integer
    Configure BFD packet reception interval of values include: 200~1000, unit: ms.
    minTxInterval Integer
    Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
    peerIpv6GatewayIp String
    The Client-Side Interconnection IPv6 Address.
    peeringIpv6SubnetMask String
    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.
    vbrOwnerId String
    The vbr owner id.
    virtualBorderRouterName String
    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.
    localGatewayIp string
    Alibaba Cloud-Connected IPv4 address.
    peerGatewayIp string
    The Client-Side Interconnection IPv4 Address.
    peeringSubnetMask string
    Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
    physicalConnectionId string
    The ID of the Physical Connection to Which the ID.
    vlanId number
    The VLAN ID of the VBR. Value range: 0~2999.
    associatedPhysicalConnections string
    The associated physical connections.
    bandwidth number
    The bandwidth.
    circuitCode 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.
    detectMultiplier 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.
    enableIpv6 boolean
    Whether to Enable IPv6. Valid values: false, true.
    includeCrossAccountVbr boolean
    Whether cross account border routers are included. Valid values: false, true. Default: true.
    localIpv6GatewayIp string
    Alibaba Cloud-Connected IPv6 Address.
    minRxInterval number
    Configure BFD packet reception interval of values include: 200~1000, unit: ms.
    minTxInterval number
    Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
    peerIpv6GatewayIp string
    The Client-Side Interconnection IPv6 Address.
    peeringIpv6SubnetMask string
    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.
    vbrOwnerId string
    The vbr owner id.
    virtualBorderRouterName string
    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_ip str
    Alibaba Cloud-Connected IPv4 address.
    peer_gateway_ip str
    The Client-Side Interconnection IPv4 Address.
    peering_subnet_mask str
    Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
    physical_connection_id str
    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_connections str
    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_account_vbr bool
    Whether cross account border routers are included. Valid values: false, true. Default: true.
    local_ipv6_gateway_ip str
    Alibaba Cloud-Connected IPv6 Address.
    min_rx_interval int
    Configure BFD packet reception interval of values include: 200~1000, unit: ms.
    min_tx_interval int
    Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
    peer_ipv6_gateway_ip str
    The Client-Side Interconnection IPv6 Address.
    peering_ipv6_subnet_mask str
    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_id str
    The vbr owner id.
    virtual_border_router_name str
    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.
    localGatewayIp String
    Alibaba Cloud-Connected IPv4 address.
    peerGatewayIp String
    The Client-Side Interconnection IPv4 Address.
    peeringSubnetMask String
    Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
    physicalConnectionId String
    The ID of the Physical Connection to Which the ID.
    vlanId Number
    The VLAN ID of the VBR. Value range: 0~2999.
    associatedPhysicalConnections String
    The associated physical connections.
    bandwidth Number
    The bandwidth.
    circuitCode 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.
    detectMultiplier 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.
    enableIpv6 Boolean
    Whether to Enable IPv6. Valid values: false, true.
    includeCrossAccountVbr Boolean
    Whether cross account border routers are included. Valid values: false, true. Default: true.
    localIpv6GatewayIp String
    Alibaba Cloud-Connected IPv6 Address.
    minRxInterval Number
    Configure BFD packet reception interval of values include: 200~1000, unit: ms.
    minTxInterval Number
    Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
    peerIpv6GatewayIp String
    The Client-Side Interconnection IPv6 Address.
    peeringIpv6SubnetMask String
    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.
    vbrOwnerId String
    The vbr owner id.
    virtualBorderRouterName String
    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.
    RouteTableId string
    (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.
    RouteTableId string
    (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.
    routeTableId String
    (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.
    routeTableId string
    (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_id str
    (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.
    routeTableId String
    (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.
    The following state arguments are supported:
    AssociatedPhysicalConnections string
    The associated physical connections.
    Bandwidth int
    The bandwidth.
    CircuitCode 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.
    DetectMultiplier 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.
    EnableIpv6 bool
    Whether to Enable IPv6. Valid values: false, true.
    IncludeCrossAccountVbr bool
    Whether cross account border routers are included. Valid values: false, true. Default: true.
    LocalGatewayIp string
    Alibaba Cloud-Connected IPv4 address.
    LocalIpv6GatewayIp string
    Alibaba Cloud-Connected IPv6 Address.
    MinRxInterval int
    Configure BFD packet reception interval of values include: 200~1000, unit: ms.
    MinTxInterval int
    Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
    PeerGatewayIp string
    The Client-Side Interconnection IPv4 Address.
    PeerIpv6GatewayIp string
    The Client-Side Interconnection IPv6 Address.
    PeeringIpv6SubnetMask string
    Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
    PeeringSubnetMask string
    Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
    PhysicalConnectionId string
    The ID of the Physical Connection to Which the ID.
    RouteTableId string
    (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.
    VbrOwnerId string
    The vbr owner id.
    VirtualBorderRouterName string
    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.
    VlanId int
    The VLAN ID of the VBR. Value range: 0~2999.
    AssociatedPhysicalConnections string
    The associated physical connections.
    Bandwidth int
    The bandwidth.
    CircuitCode 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.
    DetectMultiplier 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.
    EnableIpv6 bool
    Whether to Enable IPv6. Valid values: false, true.
    IncludeCrossAccountVbr bool
    Whether cross account border routers are included. Valid values: false, true. Default: true.
    LocalGatewayIp string
    Alibaba Cloud-Connected IPv4 address.
    LocalIpv6GatewayIp string
    Alibaba Cloud-Connected IPv6 Address.
    MinRxInterval int
    Configure BFD packet reception interval of values include: 200~1000, unit: ms.
    MinTxInterval int
    Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
    PeerGatewayIp string
    The Client-Side Interconnection IPv4 Address.
    PeerIpv6GatewayIp string
    The Client-Side Interconnection IPv6 Address.
    PeeringIpv6SubnetMask string
    Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
    PeeringSubnetMask string
    Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
    PhysicalConnectionId string
    The ID of the Physical Connection to Which the ID.
    RouteTableId string
    (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.
    VbrOwnerId string
    The vbr owner id.
    VirtualBorderRouterName string
    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.
    VlanId int
    The VLAN ID of the VBR. Value range: 0~2999.
    associatedPhysicalConnections String
    The associated physical connections.
    bandwidth Integer
    The bandwidth.
    circuitCode 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.
    detectMultiplier 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.
    enableIpv6 Boolean
    Whether to Enable IPv6. Valid values: false, true.
    includeCrossAccountVbr Boolean
    Whether cross account border routers are included. Valid values: false, true. Default: true.
    localGatewayIp String
    Alibaba Cloud-Connected IPv4 address.
    localIpv6GatewayIp String
    Alibaba Cloud-Connected IPv6 Address.
    minRxInterval Integer
    Configure BFD packet reception interval of values include: 200~1000, unit: ms.
    minTxInterval Integer
    Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
    peerGatewayIp String
    The Client-Side Interconnection IPv4 Address.
    peerIpv6GatewayIp String
    The Client-Side Interconnection IPv6 Address.
    peeringIpv6SubnetMask String
    Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
    peeringSubnetMask String
    Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
    physicalConnectionId String
    The ID of the Physical Connection to Which the ID.
    routeTableId String
    (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.
    vbrOwnerId String
    The vbr owner id.
    virtualBorderRouterName String
    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.
    vlanId Integer
    The VLAN ID of the VBR. Value range: 0~2999.
    associatedPhysicalConnections string
    The associated physical connections.
    bandwidth number
    The bandwidth.
    circuitCode 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.
    detectMultiplier 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.
    enableIpv6 boolean
    Whether to Enable IPv6. Valid values: false, true.
    includeCrossAccountVbr boolean
    Whether cross account border routers are included. Valid values: false, true. Default: true.
    localGatewayIp string
    Alibaba Cloud-Connected IPv4 address.
    localIpv6GatewayIp string
    Alibaba Cloud-Connected IPv6 Address.
    minRxInterval number
    Configure BFD packet reception interval of values include: 200~1000, unit: ms.
    minTxInterval number
    Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
    peerGatewayIp string
    The Client-Side Interconnection IPv4 Address.
    peerIpv6GatewayIp string
    The Client-Side Interconnection IPv6 Address.
    peeringIpv6SubnetMask string
    Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
    peeringSubnetMask string
    Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
    physicalConnectionId string
    The ID of the Physical Connection to Which the ID.
    routeTableId string
    (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.
    vbrOwnerId string
    The vbr owner id.
    virtualBorderRouterName string
    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.
    vlanId number
    The VLAN ID of the VBR. Value range: 0~2999.
    associated_physical_connections str
    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_account_vbr bool
    Whether cross account border routers are included. Valid values: false, true. Default: true.
    local_gateway_ip str
    Alibaba Cloud-Connected IPv4 address.
    local_ipv6_gateway_ip str
    Alibaba Cloud-Connected IPv6 Address.
    min_rx_interval int
    Configure BFD packet reception interval of values include: 200~1000, unit: ms.
    min_tx_interval int
    Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
    peer_gateway_ip str
    The Client-Side Interconnection IPv4 Address.
    peer_ipv6_gateway_ip str
    The Client-Side Interconnection IPv6 Address.
    peering_ipv6_subnet_mask str
    Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
    peering_subnet_mask str
    Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
    physical_connection_id str
    The ID of the Physical Connection to Which the ID.
    route_table_id str
    (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_id str
    The vbr owner id.
    virtual_border_router_name str
    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.
    associatedPhysicalConnections String
    The associated physical connections.
    bandwidth Number
    The bandwidth.
    circuitCode 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.
    detectMultiplier 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.
    enableIpv6 Boolean
    Whether to Enable IPv6. Valid values: false, true.
    includeCrossAccountVbr Boolean
    Whether cross account border routers are included. Valid values: false, true. Default: true.
    localGatewayIp String
    Alibaba Cloud-Connected IPv4 address.
    localIpv6GatewayIp String
    Alibaba Cloud-Connected IPv6 Address.
    minRxInterval Number
    Configure BFD packet reception interval of values include: 200~1000, unit: ms.
    minTxInterval Number
    Configure BFD packet transmission interval maximum value: 200~1000, unit: ms.
    peerGatewayIp String
    The Client-Side Interconnection IPv4 Address.
    peerIpv6GatewayIp String
    The Client-Side Interconnection IPv6 Address.
    peeringIpv6SubnetMask String
    Alibaba Cloud-Connected IPv6 with Client-Side Interconnection IPv6 of Subnet Mask.
    peeringSubnetMask String
    Alibaba Cloud-Connected IPv4 and Client-Side Interconnection IPv4 of Subnet Mask.
    physicalConnectionId String
    The ID of the Physical Connection to Which the ID.
    routeTableId String
    (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.
    vbrOwnerId String
    The vbr owner id.
    virtualBorderRouterName String
    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.
    vlanId 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.
    alicloud logo
    Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi