1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. expressconnect
  5. VbrPconnAssociation
Alibaba Cloud v3.54.0 published on Wednesday, Apr 24, 2024 by Pulumi

alicloud.expressconnect.VbrPconnAssociation

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.54.0 published on Wednesday, Apr 24, 2024 by Pulumi

    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?.[2]?.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",
    });
    
    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[2].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")
    
    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
    		}
    		_, 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[2].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
    	})
    }
    
    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[2]?.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",
        });
    
    });
    
    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()[2].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());
    
        }
    }
    
    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[2].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
    

    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 string
    The unique name of the resource.
    args VbrPconnAssociationArgs
    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 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 string
    The unique name of the resource.
    args VbrPconnAssociationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VbrPconnAssociationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VbrPconnAssociationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    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",
    });
    
    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"),
    })
    
    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());
    
    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")
    
    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",
    });
    
    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
    

    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

    The VbrPconnAssociation resource accepts the following input properties:

    PhysicalConnectionId string
    The ID of the leased line instance.
    VbrId string
    The ID of the VBR instance.
    VlanId 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 bool
    Whether IPv6 is enabled. Value:

    • true: on.
    • false (default): Off.
    LocalGatewayIp string
    The Alibaba cloud IP address of the VBR instance.
    LocalIpv6GatewayIp string
    The IPv6 address on the Alibaba Cloud side of the VBR instance.
    PeerGatewayIp 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 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 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 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 string
    The ID of the leased line instance.
    VbrId string
    The ID of the VBR instance.
    VlanId 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 bool
    Whether IPv6 is enabled. Value:

    • true: on.
    • false (default): Off.
    LocalGatewayIp string
    The Alibaba cloud IP address of the VBR instance.
    LocalIpv6GatewayIp string
    The IPv6 address on the Alibaba Cloud side of the VBR instance.
    PeerGatewayIp 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 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 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 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 String
    The ID of the leased line instance.
    vbrId String
    The ID of the VBR instance.
    vlanId 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 Boolean
    Whether IPv6 is enabled. Value:

    • true: on.
    • false (default): Off.
    localGatewayIp String
    The Alibaba cloud IP address of the VBR instance.
    localIpv6GatewayIp String
    The IPv6 address on the Alibaba Cloud side of the VBR instance.
    peerGatewayIp 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 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 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 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 string
    The ID of the leased line instance.
    vbrId string
    The ID of the VBR instance.
    vlanId 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 boolean
    Whether IPv6 is enabled. Value:

    • true: on.
    • false (default): Off.
    localGatewayIp string
    The Alibaba cloud IP address of the VBR instance.
    localIpv6GatewayIp string
    The IPv6 address on the Alibaba Cloud side of the VBR instance.
    peerGatewayIp 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 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 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 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 str
    The ID of the leased line instance.
    vbr_id str
    The ID of the VBR instance.
    vlan_id 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 bool
    Whether IPv6 is enabled. Value:

    • true: on.
    • false (default): Off.
    local_gateway_ip str
    The Alibaba cloud IP address of the VBR instance.
    local_ipv6_gateway_ip str
    The IPv6 address on the Alibaba Cloud side of the VBR instance.
    peer_gateway_ip 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 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 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 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 String
    The ID of the leased line instance.
    vbrId String
    The ID of the VBR instance.
    vlanId 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 Boolean
    Whether IPv6 is enabled. Value:

    • true: on.
    • false (default): Off.
    localGatewayIp String
    The Alibaba cloud IP address of the VBR instance.
    localIpv6GatewayIp String
    The IPv6 address on the Alibaba Cloud side of the VBR instance.
    peerGatewayIp 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 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 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 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)
    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:
    CircuitCode string
    The circuit code provided by the operator for the physical connection.
    EnableIpv6 bool
    Whether IPv6 is enabled. Value:

    • true: on.
    • false (default): Off.
    LocalGatewayIp string
    The Alibaba cloud IP address of the VBR instance.
    LocalIpv6GatewayIp string
    The IPv6 address on the Alibaba Cloud side of the VBR instance.
    PeerGatewayIp 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 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 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 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 string
    The ID of the leased line instance.
    Status string
    The status of the resource.
    VbrId string
    The ID of the VBR instance.
    VlanId 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 bool
    Whether IPv6 is enabled. Value:

    • true: on.
    • false (default): Off.
    LocalGatewayIp string
    The Alibaba cloud IP address of the VBR instance.
    LocalIpv6GatewayIp string
    The IPv6 address on the Alibaba Cloud side of the VBR instance.
    PeerGatewayIp 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 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 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 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 string
    The ID of the leased line instance.
    Status string
    The status of the resource.
    VbrId string
    The ID of the VBR instance.
    VlanId 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 Boolean
    Whether IPv6 is enabled. Value:

    • true: on.
    • false (default): Off.
    localGatewayIp String
    The Alibaba cloud IP address of the VBR instance.
    localIpv6GatewayIp String
    The IPv6 address on the Alibaba Cloud side of the VBR instance.
    peerGatewayIp 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 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 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 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 String
    The ID of the leased line instance.
    status String
    The status of the resource.
    vbrId String
    The ID of the VBR instance.
    vlanId 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 boolean
    Whether IPv6 is enabled. Value:

    • true: on.
    • false (default): Off.
    localGatewayIp string
    The Alibaba cloud IP address of the VBR instance.
    localIpv6GatewayIp string
    The IPv6 address on the Alibaba Cloud side of the VBR instance.
    peerGatewayIp 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 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 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 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 string
    The ID of the leased line instance.
    status string
    The status of the resource.
    vbrId string
    The ID of the VBR instance.
    vlanId 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 bool
    Whether IPv6 is enabled. Value:

    • true: on.
    • false (default): Off.
    local_gateway_ip str
    The Alibaba cloud IP address of the VBR instance.
    local_ipv6_gateway_ip str
    The IPv6 address on the Alibaba Cloud side of the VBR instance.
    peer_gateway_ip 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 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 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 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 str
    The ID of the leased line instance.
    status str
    The status of the resource.
    vbr_id str
    The ID of the VBR instance.
    vlan_id 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 Boolean
    Whether IPv6 is enabled. Value:

    • true: on.
    • false (default): Off.
    localGatewayIp String
    The Alibaba cloud IP address of the VBR instance.
    localIpv6GatewayIp String
    The IPv6 address on the Alibaba Cloud side of the VBR instance.
    peerGatewayIp 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 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 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 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 String
    The ID of the leased line instance.
    status String
    The status of the resource.
    vbrId String
    The ID of the VBR instance.
    vlanId 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>
    

    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.54.0 published on Wednesday, Apr 24, 2024 by Pulumi