1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. expressconnect
  5. VbrPconnAssociation
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.expressconnect.VbrPconnAssociation

Explore with Pulumi AI

Provides a Express Connect Vbr Pconn Association resource.

For information about Express Connect Vbr Pconn Association and how to use it, see What is Vbr Pconn Association.

NOTE: Available since v1.196.0.

Example Usage

Basic Usage

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

const config = new pulumi.Config();
const name = config.get("name") || "tf-example";
const example = alicloud.expressconnect.getPhysicalConnections({
    nameRegex: "^preserved-NODELETING",
});
const _default = new alicloud.expressconnect.VirtualBorderRouter("default", {
    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: 110,
    minRxInterval: 1000,
    minTxInterval: 1000,
    detectMultiplier: 10,
    enableIpv6: true,
    localIpv6GatewayIp: "2408:4004:cc:400::1",
    peerIpv6GatewayIp: "2408:4004:cc:400::2",
    peeringIpv6SubnetMask: "2408:4004:cc:400::/56",
});
const exampleVbrPconnAssociation = new alicloud.expressconnect.VbrPconnAssociation("example", {
    peerGatewayIp: "10.0.0.6",
    localGatewayIp: "10.0.0.5",
    physicalConnectionId: example.then(example => example.connections?.[1]?.id),
    vbrId: _default.id,
    peeringSubnetMask: "255.255.255.252",
    vlanId: 1122,
    enableIpv6: true,
    localIpv6GatewayIp: "2408:4004:cc::3",
    peerIpv6GatewayIp: "2408:4004:cc::4",
    peeringIpv6SubnetMask: "2408:4004:cc::/56",
});
Copy
import pulumi
import pulumi_alicloud as alicloud

config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "tf-example"
example = alicloud.expressconnect.get_physical_connections(name_regex="^preserved-NODELETING")
default = alicloud.expressconnect.VirtualBorderRouter("default",
    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=110,
    min_rx_interval=1000,
    min_tx_interval=1000,
    detect_multiplier=10,
    enable_ipv6=True,
    local_ipv6_gateway_ip="2408:4004:cc:400::1",
    peer_ipv6_gateway_ip="2408:4004:cc:400::2",
    peering_ipv6_subnet_mask="2408:4004:cc:400::/56")
example_vbr_pconn_association = alicloud.expressconnect.VbrPconnAssociation("example",
    peer_gateway_ip="10.0.0.6",
    local_gateway_ip="10.0.0.5",
    physical_connection_id=example.connections[1].id,
    vbr_id=default.id,
    peering_subnet_mask="255.255.255.252",
    vlan_id=1122,
    enable_ipv6=True,
    local_ipv6_gateway_ip="2408:4004:cc::3",
    peer_ipv6_gateway_ip="2408:4004:cc::4",
    peering_ipv6_subnet_mask="2408:4004:cc::/56")
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/expressconnect"
	"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
		}
		_default, err := expressconnect.NewVirtualBorderRouter(ctx, "default", &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:                  pulumi.Int(110),
			MinRxInterval:           pulumi.Int(1000),
			MinTxInterval:           pulumi.Int(1000),
			DetectMultiplier:        pulumi.Int(10),
			EnableIpv6:              pulumi.Bool(true),
			LocalIpv6GatewayIp:      pulumi.String("2408:4004:cc:400::1"),
			PeerIpv6GatewayIp:       pulumi.String("2408:4004:cc:400::2"),
			PeeringIpv6SubnetMask:   pulumi.String("2408:4004:cc:400::/56"),
		})
		if err != nil {
			return err
		}
		_, err = expressconnect.NewVbrPconnAssociation(ctx, "example", &expressconnect.VbrPconnAssociationArgs{
			PeerGatewayIp:         pulumi.String("10.0.0.6"),
			LocalGatewayIp:        pulumi.String("10.0.0.5"),
			PhysicalConnectionId:  pulumi.String(example.Connections[1].Id),
			VbrId:                 _default.ID(),
			PeeringSubnetMask:     pulumi.String("255.255.255.252"),
			VlanId:                pulumi.Int(1122),
			EnableIpv6:            pulumi.Bool(true),
			LocalIpv6GatewayIp:    pulumi.String("2408:4004:cc::3"),
			PeerIpv6GatewayIp:     pulumi.String("2408:4004:cc::4"),
			PeeringIpv6SubnetMask: pulumi.String("2408:4004:cc::/56"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

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 @default = new AliCloud.ExpressConnect.VirtualBorderRouter("default", 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 = 110,
        MinRxInterval = 1000,
        MinTxInterval = 1000,
        DetectMultiplier = 10,
        EnableIpv6 = true,
        LocalIpv6GatewayIp = "2408:4004:cc:400::1",
        PeerIpv6GatewayIp = "2408:4004:cc:400::2",
        PeeringIpv6SubnetMask = "2408:4004:cc:400::/56",
    });

    var exampleVbrPconnAssociation = new AliCloud.ExpressConnect.VbrPconnAssociation("example", new()
    {
        PeerGatewayIp = "10.0.0.6",
        LocalGatewayIp = "10.0.0.5",
        PhysicalConnectionId = example.Apply(getPhysicalConnectionsResult => getPhysicalConnectionsResult.Connections[1]?.Id),
        VbrId = @default.Id,
        PeeringSubnetMask = "255.255.255.252",
        VlanId = 1122,
        EnableIpv6 = true,
        LocalIpv6GatewayIp = "2408:4004:cc::3",
        PeerIpv6GatewayIp = "2408:4004:cc::4",
        PeeringIpv6SubnetMask = "2408:4004:cc::/56",
    });

});
Copy
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.alicloud.expressconnect.VirtualBorderRouter;
import com.pulumi.alicloud.expressconnect.VirtualBorderRouterArgs;
import com.pulumi.alicloud.expressconnect.VbrPconnAssociation;
import com.pulumi.alicloud.expressconnect.VbrPconnAssociationArgs;
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 default_ = new VirtualBorderRouter("default", 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(110)
            .minRxInterval(1000)
            .minTxInterval(1000)
            .detectMultiplier(10)
            .enableIpv6(true)
            .localIpv6GatewayIp("2408:4004:cc:400::1")
            .peerIpv6GatewayIp("2408:4004:cc:400::2")
            .peeringIpv6SubnetMask("2408:4004:cc:400::/56")
            .build());

        var exampleVbrPconnAssociation = new VbrPconnAssociation("exampleVbrPconnAssociation", VbrPconnAssociationArgs.builder()
            .peerGatewayIp("10.0.0.6")
            .localGatewayIp("10.0.0.5")
            .physicalConnectionId(example.applyValue(getPhysicalConnectionsResult -> getPhysicalConnectionsResult.connections()[1].id()))
            .vbrId(default_.id())
            .peeringSubnetMask("255.255.255.252")
            .vlanId("1122")
            .enableIpv6(true)
            .localIpv6GatewayIp("2408:4004:cc::3")
            .peerIpv6GatewayIp("2408:4004:cc::4")
            .peeringIpv6SubnetMask("2408:4004:cc::/56")
            .build());

    }
}
Copy
configuration:
  name:
    type: string
    default: tf-example
resources:
  default:
    type: alicloud:expressconnect:VirtualBorderRouter
    properties:
      localGatewayIp: 10.0.0.1
      peerGatewayIp: 10.0.0.2
      peeringSubnetMask: 255.255.255.252
      physicalConnectionId: ${example.connections[0].id}
      virtualBorderRouterName: ${name}
      vlanId: 110
      minRxInterval: 1000
      minTxInterval: 1000
      detectMultiplier: 10
      enableIpv6: true
      localIpv6GatewayIp: 2408:4004:cc:400::1
      peerIpv6GatewayIp: 2408:4004:cc:400::2
      peeringIpv6SubnetMask: 2408:4004:cc:400::/56
  exampleVbrPconnAssociation:
    type: alicloud:expressconnect:VbrPconnAssociation
    name: example
    properties:
      peerGatewayIp: 10.0.0.6
      localGatewayIp: 10.0.0.5
      physicalConnectionId: ${example.connections[1].id}
      vbrId: ${default.id}
      peeringSubnetMask: 255.255.255.252
      vlanId: '1122'
      enableIpv6: true
      localIpv6GatewayIp: 2408:4004:cc::3
      peerIpv6GatewayIp: 2408:4004:cc::4
      peeringIpv6SubnetMask: 2408:4004:cc::/56
variables:
  example:
    fn::invoke:
      function: alicloud:expressconnect:getPhysicalConnections
      arguments:
        nameRegex: ^preserved-NODELETING
Copy

Create VbrPconnAssociation Resource

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

Constructor syntax

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

@overload
def VbrPconnAssociation(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        physical_connection_id: Optional[str] = None,
                        vbr_id: Optional[str] = None,
                        vlan_id: Optional[int] = None,
                        enable_ipv6: Optional[bool] = None,
                        local_gateway_ip: Optional[str] = None,
                        local_ipv6_gateway_ip: Optional[str] = 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)
func NewVbrPconnAssociation(ctx *Context, name string, args VbrPconnAssociationArgs, opts ...ResourceOption) (*VbrPconnAssociation, error)
public VbrPconnAssociation(string name, VbrPconnAssociationArgs args, CustomResourceOptions? opts = null)
public VbrPconnAssociation(String name, VbrPconnAssociationArgs args)
public VbrPconnAssociation(String name, VbrPconnAssociationArgs args, CustomResourceOptions options)
type: alicloud:expressconnect:VbrPconnAssociation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. VbrPconnAssociationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. VbrPconnAssociationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. VbrPconnAssociationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. VbrPconnAssociationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. VbrPconnAssociationArgs
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 vbrPconnAssociationResource = new AliCloud.ExpressConnect.VbrPconnAssociation("vbrPconnAssociationResource", new()
{
    PhysicalConnectionId = "string",
    VbrId = "string",
    VlanId = 0,
    EnableIpv6 = false,
    LocalGatewayIp = "string",
    LocalIpv6GatewayIp = "string",
    PeerGatewayIp = "string",
    PeerIpv6GatewayIp = "string",
    PeeringIpv6SubnetMask = "string",
    PeeringSubnetMask = "string",
});
Copy
example, err := expressconnect.NewVbrPconnAssociation(ctx, "vbrPconnAssociationResource", &expressconnect.VbrPconnAssociationArgs{
	PhysicalConnectionId:  pulumi.String("string"),
	VbrId:                 pulumi.String("string"),
	VlanId:                pulumi.Int(0),
	EnableIpv6:            pulumi.Bool(false),
	LocalGatewayIp:        pulumi.String("string"),
	LocalIpv6GatewayIp:    pulumi.String("string"),
	PeerGatewayIp:         pulumi.String("string"),
	PeerIpv6GatewayIp:     pulumi.String("string"),
	PeeringIpv6SubnetMask: pulumi.String("string"),
	PeeringSubnetMask:     pulumi.String("string"),
})
Copy
var vbrPconnAssociationResource = new VbrPconnAssociation("vbrPconnAssociationResource", VbrPconnAssociationArgs.builder()
    .physicalConnectionId("string")
    .vbrId("string")
    .vlanId(0)
    .enableIpv6(false)
    .localGatewayIp("string")
    .localIpv6GatewayIp("string")
    .peerGatewayIp("string")
    .peerIpv6GatewayIp("string")
    .peeringIpv6SubnetMask("string")
    .peeringSubnetMask("string")
    .build());
Copy
vbr_pconn_association_resource = alicloud.expressconnect.VbrPconnAssociation("vbrPconnAssociationResource",
    physical_connection_id="string",
    vbr_id="string",
    vlan_id=0,
    enable_ipv6=False,
    local_gateway_ip="string",
    local_ipv6_gateway_ip="string",
    peer_gateway_ip="string",
    peer_ipv6_gateway_ip="string",
    peering_ipv6_subnet_mask="string",
    peering_subnet_mask="string")
Copy
const vbrPconnAssociationResource = new alicloud.expressconnect.VbrPconnAssociation("vbrPconnAssociationResource", {
    physicalConnectionId: "string",
    vbrId: "string",
    vlanId: 0,
    enableIpv6: false,
    localGatewayIp: "string",
    localIpv6GatewayIp: "string",
    peerGatewayIp: "string",
    peerIpv6GatewayIp: "string",
    peeringIpv6SubnetMask: "string",
    peeringSubnetMask: "string",
});
Copy
type: alicloud:expressconnect:VbrPconnAssociation
properties:
    enableIpv6: false
    localGatewayIp: string
    localIpv6GatewayIp: string
    peerGatewayIp: string
    peerIpv6GatewayIp: string
    peeringIpv6SubnetMask: string
    peeringSubnetMask: string
    physicalConnectionId: string
    vbrId: string
    vlanId: 0
Copy

VbrPconnAssociation Resource Properties

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

Inputs

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

The VbrPconnAssociation resource accepts the following input properties:

PhysicalConnectionId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the leased line instance.
VbrId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the VBR instance.
VlanId
This property is required.
Changes to this property will trigger replacement.
int
VLAN ID of the VBR. Valid values: 0 to 2999. NOTE: only the owner of the physical connection can specify this parameter. The VLAN ID of two VBRs under the same physical connection cannot be the same.
EnableIpv6 Changes to this property will trigger replacement. bool
Whether IPv6 is enabled. Value:

  • true: on.
  • false (default): Off.
LocalGatewayIp Changes to this property will trigger replacement. string
The Alibaba cloud IP address of the VBR instance.
LocalIpv6GatewayIp Changes to this property will trigger replacement. string
The IPv6 address on the Alibaba Cloud side of the VBR instance.
PeerGatewayIp Changes to this property will trigger replacement. string
The client IP address of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
PeerIpv6GatewayIp Changes to this property will trigger replacement. string
The IPv6 address of the client side of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
PeeringIpv6SubnetMask Changes to this property will trigger replacement. string
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.Two IPv6 addresses must be in the same subnet.
PeeringSubnetMask Changes to this property will trigger replacement. string
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.The two IP addresses must be in the same subnet.
PhysicalConnectionId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the leased line instance.
VbrId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the VBR instance.
VlanId
This property is required.
Changes to this property will trigger replacement.
int
VLAN ID of the VBR. Valid values: 0 to 2999. NOTE: only the owner of the physical connection can specify this parameter. The VLAN ID of two VBRs under the same physical connection cannot be the same.
EnableIpv6 Changes to this property will trigger replacement. bool
Whether IPv6 is enabled. Value:

  • true: on.
  • false (default): Off.
LocalGatewayIp Changes to this property will trigger replacement. string
The Alibaba cloud IP address of the VBR instance.
LocalIpv6GatewayIp Changes to this property will trigger replacement. string
The IPv6 address on the Alibaba Cloud side of the VBR instance.
PeerGatewayIp Changes to this property will trigger replacement. string
The client IP address of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
PeerIpv6GatewayIp Changes to this property will trigger replacement. string
The IPv6 address of the client side of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
PeeringIpv6SubnetMask Changes to this property will trigger replacement. string
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.Two IPv6 addresses must be in the same subnet.
PeeringSubnetMask Changes to this property will trigger replacement. string
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.The two IP addresses must be in the same subnet.
physicalConnectionId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the leased line instance.
vbrId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the VBR instance.
vlanId
This property is required.
Changes to this property will trigger replacement.
Integer
VLAN ID of the VBR. Valid values: 0 to 2999. NOTE: only the owner of the physical connection can specify this parameter. The VLAN ID of two VBRs under the same physical connection cannot be the same.
enableIpv6 Changes to this property will trigger replacement. Boolean
Whether IPv6 is enabled. Value:

  • true: on.
  • false (default): Off.
localGatewayIp Changes to this property will trigger replacement. String
The Alibaba cloud IP address of the VBR instance.
localIpv6GatewayIp Changes to this property will trigger replacement. String
The IPv6 address on the Alibaba Cloud side of the VBR instance.
peerGatewayIp Changes to this property will trigger replacement. String
The client IP address of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
peerIpv6GatewayIp Changes to this property will trigger replacement. String
The IPv6 address of the client side of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
peeringIpv6SubnetMask Changes to this property will trigger replacement. String
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.Two IPv6 addresses must be in the same subnet.
peeringSubnetMask Changes to this property will trigger replacement. String
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.The two IP addresses must be in the same subnet.
physicalConnectionId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the leased line instance.
vbrId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the VBR instance.
vlanId
This property is required.
Changes to this property will trigger replacement.
number
VLAN ID of the VBR. Valid values: 0 to 2999. NOTE: only the owner of the physical connection can specify this parameter. The VLAN ID of two VBRs under the same physical connection cannot be the same.
enableIpv6 Changes to this property will trigger replacement. boolean
Whether IPv6 is enabled. Value:

  • true: on.
  • false (default): Off.
localGatewayIp Changes to this property will trigger replacement. string
The Alibaba cloud IP address of the VBR instance.
localIpv6GatewayIp Changes to this property will trigger replacement. string
The IPv6 address on the Alibaba Cloud side of the VBR instance.
peerGatewayIp Changes to this property will trigger replacement. string
The client IP address of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
peerIpv6GatewayIp Changes to this property will trigger replacement. string
The IPv6 address of the client side of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
peeringIpv6SubnetMask Changes to this property will trigger replacement. string
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.Two IPv6 addresses must be in the same subnet.
peeringSubnetMask Changes to this property will trigger replacement. string
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.The two IP addresses must be in the same subnet.
physical_connection_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the leased line instance.
vbr_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the VBR instance.
vlan_id
This property is required.
Changes to this property will trigger replacement.
int
VLAN ID of the VBR. Valid values: 0 to 2999. NOTE: only the owner of the physical connection can specify this parameter. The VLAN ID of two VBRs under the same physical connection cannot be the same.
enable_ipv6 Changes to this property will trigger replacement. bool
Whether IPv6 is enabled. Value:

  • true: on.
  • false (default): Off.
local_gateway_ip Changes to this property will trigger replacement. str
The Alibaba cloud IP address of the VBR instance.
local_ipv6_gateway_ip Changes to this property will trigger replacement. str
The IPv6 address on the Alibaba Cloud side of the VBR instance.
peer_gateway_ip Changes to this property will trigger replacement. str
The client IP address of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
peer_ipv6_gateway_ip Changes to this property will trigger replacement. str
The IPv6 address of the client side of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
peering_ipv6_subnet_mask Changes to this property will trigger replacement. str
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.Two IPv6 addresses must be in the same subnet.
peering_subnet_mask Changes to this property will trigger replacement. str
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.The two IP addresses must be in the same subnet.
physicalConnectionId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the leased line instance.
vbrId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the VBR instance.
vlanId
This property is required.
Changes to this property will trigger replacement.
Number
VLAN ID of the VBR. Valid values: 0 to 2999. NOTE: only the owner of the physical connection can specify this parameter. The VLAN ID of two VBRs under the same physical connection cannot be the same.
enableIpv6 Changes to this property will trigger replacement. Boolean
Whether IPv6 is enabled. Value:

  • true: on.
  • false (default): Off.
localGatewayIp Changes to this property will trigger replacement. String
The Alibaba cloud IP address of the VBR instance.
localIpv6GatewayIp Changes to this property will trigger replacement. String
The IPv6 address on the Alibaba Cloud side of the VBR instance.
peerGatewayIp Changes to this property will trigger replacement. String
The client IP address of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
peerIpv6GatewayIp Changes to this property will trigger replacement. String
The IPv6 address of the client side of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
peeringIpv6SubnetMask Changes to this property will trigger replacement. String
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.Two IPv6 addresses must be in the same subnet.
peeringSubnetMask Changes to this property will trigger replacement. String
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.The two IP addresses must be in the same subnet.

Outputs

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

CircuitCode string
The circuit code provided by the operator for the physical connection.
Id string
The provider-assigned unique ID for this managed resource.
Status string
The status of the resource.
CircuitCode string
The circuit code provided by the operator for the physical connection.
Id string
The provider-assigned unique ID for this managed resource.
Status string
The status of the resource.
circuitCode String
The circuit code provided by the operator for the physical connection.
id String
The provider-assigned unique ID for this managed resource.
status String
The status of the resource.
circuitCode string
The circuit code provided by the operator for the physical connection.
id string
The provider-assigned unique ID for this managed resource.
status string
The status of the resource.
circuit_code str
The circuit code provided by the operator for the physical connection.
id str
The provider-assigned unique ID for this managed resource.
status str
The status of the resource.
circuitCode String
The circuit code provided by the operator for the physical connection.
id String
The provider-assigned unique ID for this managed resource.
status String
The status of the resource.

Look up Existing VbrPconnAssociation Resource

Get an existing VbrPconnAssociation 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?: VbrPconnAssociationState, opts?: CustomResourceOptions): VbrPconnAssociation
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        circuit_code: Optional[str] = None,
        enable_ipv6: Optional[bool] = None,
        local_gateway_ip: Optional[str] = None,
        local_ipv6_gateway_ip: Optional[str] = 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,
        status: Optional[str] = None,
        vbr_id: Optional[str] = None,
        vlan_id: Optional[int] = None) -> VbrPconnAssociation
func GetVbrPconnAssociation(ctx *Context, name string, id IDInput, state *VbrPconnAssociationState, opts ...ResourceOption) (*VbrPconnAssociation, error)
public static VbrPconnAssociation Get(string name, Input<string> id, VbrPconnAssociationState? state, CustomResourceOptions? opts = null)
public static VbrPconnAssociation get(String name, Output<String> id, VbrPconnAssociationState state, CustomResourceOptions options)
resources:  _:    type: alicloud:expressconnect:VbrPconnAssociation    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CircuitCode string
The circuit code provided by the operator for the physical connection.
EnableIpv6 Changes to this property will trigger replacement. bool
Whether IPv6 is enabled. Value:

  • true: on.
  • false (default): Off.
LocalGatewayIp Changes to this property will trigger replacement. string
The Alibaba cloud IP address of the VBR instance.
LocalIpv6GatewayIp Changes to this property will trigger replacement. string
The IPv6 address on the Alibaba Cloud side of the VBR instance.
PeerGatewayIp Changes to this property will trigger replacement. string
The client IP address of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
PeerIpv6GatewayIp Changes to this property will trigger replacement. string
The IPv6 address of the client side of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
PeeringIpv6SubnetMask Changes to this property will trigger replacement. string
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.Two IPv6 addresses must be in the same subnet.
PeeringSubnetMask Changes to this property will trigger replacement. string
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.The two IP addresses must be in the same subnet.
PhysicalConnectionId Changes to this property will trigger replacement. string
The ID of the leased line instance.
Status string
The status of the resource.
VbrId Changes to this property will trigger replacement. string
The ID of the VBR instance.
VlanId Changes to this property will trigger replacement. int
VLAN ID of the VBR. Valid values: 0 to 2999. NOTE: only the owner of the physical connection can specify this parameter. The VLAN ID of two VBRs under the same physical connection cannot be the same.
CircuitCode string
The circuit code provided by the operator for the physical connection.
EnableIpv6 Changes to this property will trigger replacement. bool
Whether IPv6 is enabled. Value:

  • true: on.
  • false (default): Off.
LocalGatewayIp Changes to this property will trigger replacement. string
The Alibaba cloud IP address of the VBR instance.
LocalIpv6GatewayIp Changes to this property will trigger replacement. string
The IPv6 address on the Alibaba Cloud side of the VBR instance.
PeerGatewayIp Changes to this property will trigger replacement. string
The client IP address of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
PeerIpv6GatewayIp Changes to this property will trigger replacement. string
The IPv6 address of the client side of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
PeeringIpv6SubnetMask Changes to this property will trigger replacement. string
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.Two IPv6 addresses must be in the same subnet.
PeeringSubnetMask Changes to this property will trigger replacement. string
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.The two IP addresses must be in the same subnet.
PhysicalConnectionId Changes to this property will trigger replacement. string
The ID of the leased line instance.
Status string
The status of the resource.
VbrId Changes to this property will trigger replacement. string
The ID of the VBR instance.
VlanId Changes to this property will trigger replacement. int
VLAN ID of the VBR. Valid values: 0 to 2999. NOTE: only the owner of the physical connection can specify this parameter. The VLAN ID of two VBRs under the same physical connection cannot be the same.
circuitCode String
The circuit code provided by the operator for the physical connection.
enableIpv6 Changes to this property will trigger replacement. Boolean
Whether IPv6 is enabled. Value:

  • true: on.
  • false (default): Off.
localGatewayIp Changes to this property will trigger replacement. String
The Alibaba cloud IP address of the VBR instance.
localIpv6GatewayIp Changes to this property will trigger replacement. String
The IPv6 address on the Alibaba Cloud side of the VBR instance.
peerGatewayIp Changes to this property will trigger replacement. String
The client IP address of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
peerIpv6GatewayIp Changes to this property will trigger replacement. String
The IPv6 address of the client side of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
peeringIpv6SubnetMask Changes to this property will trigger replacement. String
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.Two IPv6 addresses must be in the same subnet.
peeringSubnetMask Changes to this property will trigger replacement. String
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.The two IP addresses must be in the same subnet.
physicalConnectionId Changes to this property will trigger replacement. String
The ID of the leased line instance.
status String
The status of the resource.
vbrId Changes to this property will trigger replacement. String
The ID of the VBR instance.
vlanId Changes to this property will trigger replacement. Integer
VLAN ID of the VBR. Valid values: 0 to 2999. NOTE: only the owner of the physical connection can specify this parameter. The VLAN ID of two VBRs under the same physical connection cannot be the same.
circuitCode string
The circuit code provided by the operator for the physical connection.
enableIpv6 Changes to this property will trigger replacement. boolean
Whether IPv6 is enabled. Value:

  • true: on.
  • false (default): Off.
localGatewayIp Changes to this property will trigger replacement. string
The Alibaba cloud IP address of the VBR instance.
localIpv6GatewayIp Changes to this property will trigger replacement. string
The IPv6 address on the Alibaba Cloud side of the VBR instance.
peerGatewayIp Changes to this property will trigger replacement. string
The client IP address of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
peerIpv6GatewayIp Changes to this property will trigger replacement. string
The IPv6 address of the client side of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
peeringIpv6SubnetMask Changes to this property will trigger replacement. string
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.Two IPv6 addresses must be in the same subnet.
peeringSubnetMask Changes to this property will trigger replacement. string
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.The two IP addresses must be in the same subnet.
physicalConnectionId Changes to this property will trigger replacement. string
The ID of the leased line instance.
status string
The status of the resource.
vbrId Changes to this property will trigger replacement. string
The ID of the VBR instance.
vlanId Changes to this property will trigger replacement. number
VLAN ID of the VBR. Valid values: 0 to 2999. NOTE: only the owner of the physical connection can specify this parameter. The VLAN ID of two VBRs under the same physical connection cannot be the same.
circuit_code str
The circuit code provided by the operator for the physical connection.
enable_ipv6 Changes to this property will trigger replacement. bool
Whether IPv6 is enabled. Value:

  • true: on.
  • false (default): Off.
local_gateway_ip Changes to this property will trigger replacement. str
The Alibaba cloud IP address of the VBR instance.
local_ipv6_gateway_ip Changes to this property will trigger replacement. str
The IPv6 address on the Alibaba Cloud side of the VBR instance.
peer_gateway_ip Changes to this property will trigger replacement. str
The client IP address of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
peer_ipv6_gateway_ip Changes to this property will trigger replacement. str
The IPv6 address of the client side of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
peering_ipv6_subnet_mask Changes to this property will trigger replacement. str
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.Two IPv6 addresses must be in the same subnet.
peering_subnet_mask Changes to this property will trigger replacement. str
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.The two IP addresses must be in the same subnet.
physical_connection_id Changes to this property will trigger replacement. str
The ID of the leased line instance.
status str
The status of the resource.
vbr_id Changes to this property will trigger replacement. str
The ID of the VBR instance.
vlan_id Changes to this property will trigger replacement. int
VLAN ID of the VBR. Valid values: 0 to 2999. NOTE: only the owner of the physical connection can specify this parameter. The VLAN ID of two VBRs under the same physical connection cannot be the same.
circuitCode String
The circuit code provided by the operator for the physical connection.
enableIpv6 Changes to this property will trigger replacement. Boolean
Whether IPv6 is enabled. Value:

  • true: on.
  • false (default): Off.
localGatewayIp Changes to this property will trigger replacement. String
The Alibaba cloud IP address of the VBR instance.
localIpv6GatewayIp Changes to this property will trigger replacement. String
The IPv6 address on the Alibaba Cloud side of the VBR instance.
peerGatewayIp Changes to this property will trigger replacement. String
The client IP address of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
peerIpv6GatewayIp Changes to this property will trigger replacement. String
The IPv6 address of the client side of the VBR instance. This attribute only allows the VBR owner to specify or modify. NOTE: Required when creating a VBR instance for the physical connection owner.
peeringIpv6SubnetMask Changes to this property will trigger replacement. String
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.Two IPv6 addresses must be in the same subnet.
peeringSubnetMask Changes to this property will trigger replacement. String
The subnet mask of the Alibaba Cloud side and the client side of the VBR instance.The two IP addresses must be in the same subnet.
physicalConnectionId Changes to this property will trigger replacement. String
The ID of the leased line instance.
status String
The status of the resource.
vbrId Changes to this property will trigger replacement. String
The ID of the VBR instance.
vlanId Changes to this property will trigger replacement. Number
VLAN ID of the VBR. Valid values: 0 to 2999. NOTE: only the owner of the physical connection can specify this parameter. The VLAN ID of two VBRs under the same physical connection cannot be the same.

Import

Express Connect Vbr Pconn Association can be imported using the id, e.g.

$ pulumi import alicloud:expressconnect/vbrPconnAssociation:VbrPconnAssociation example <VbrId>:<PhysicalConnectionId>
Copy

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.