Alibaba Cloud v3.88.1 published on Saturday, Nov 8, 2025 by Pulumi
alicloud.expressconnect.getVbrPconnAssociations
Alibaba Cloud v3.88.1 published on Saturday, Nov 8, 2025 by Pulumi
This data source provides Express Connect Vbr Pconn Association available to the user.
NOTE: Available in 1.196.0+
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = alicloud.expressconnect.getVbrPconnAssociations({
ids: ["example_id"],
vbrId: defaultAlicloudExpressConnectVbrPconnAssociation.vbrId,
});
export const alicloudExpressConnectVbrPconnAssociationExampleId = _default.then(_default => _default.associations?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.expressconnect.get_vbr_pconn_associations(ids=["example_id"],
vbr_id=default_alicloud_express_connect_vbr_pconn_association["vbrId"])
pulumi.export("alicloudExpressConnectVbrPconnAssociationExampleId", default.associations[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/expressconnect"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := expressconnect.GetVbrPconnAssociations(ctx, &expressconnect.GetVbrPconnAssociationsArgs{
Ids: []string{
"example_id",
},
VbrId: pulumi.StringRef(defaultAlicloudExpressConnectVbrPconnAssociation.VbrId),
}, nil)
if err != nil {
return err
}
ctx.Export("alicloudExpressConnectVbrPconnAssociationExampleId", _default.Associations[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = AliCloud.ExpressConnect.GetVbrPconnAssociations.Invoke(new()
{
Ids = new[]
{
"example_id",
},
VbrId = defaultAlicloudExpressConnectVbrPconnAssociation.VbrId,
});
return new Dictionary<string, object?>
{
["alicloudExpressConnectVbrPconnAssociationExampleId"] = @default.Apply(@default => @default.Apply(getVbrPconnAssociationsResult => getVbrPconnAssociationsResult.Associations[0]?.Id)),
};
});
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.GetVbrPconnAssociationsArgs;
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 default = ExpressconnectFunctions.getVbrPconnAssociations(GetVbrPconnAssociationsArgs.builder()
.ids("example_id")
.vbrId(defaultAlicloudExpressConnectVbrPconnAssociation.vbrId())
.build());
ctx.export("alicloudExpressConnectVbrPconnAssociationExampleId", default_.associations()[0].id());
}
}
variables:
default:
fn::invoke:
function: alicloud:expressconnect:getVbrPconnAssociations
arguments:
ids:
- example_id
vbrId: ${defaultAlicloudExpressConnectVbrPconnAssociation.vbrId}
outputs:
alicloudExpressConnectVbrPconnAssociationExampleId: ${default.associations[0].id}
Using getVbrPconnAssociations
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVbrPconnAssociations(args: GetVbrPconnAssociationsArgs, opts?: InvokeOptions): Promise<GetVbrPconnAssociationsResult>
function getVbrPconnAssociationsOutput(args: GetVbrPconnAssociationsOutputArgs, opts?: InvokeOptions): Output<GetVbrPconnAssociationsResult>def get_vbr_pconn_associations(ids: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
page_number: Optional[int] = None,
page_size: Optional[int] = None,
vbr_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVbrPconnAssociationsResult
def get_vbr_pconn_associations_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
page_number: Optional[pulumi.Input[int]] = None,
page_size: Optional[pulumi.Input[int]] = None,
vbr_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVbrPconnAssociationsResult]func GetVbrPconnAssociations(ctx *Context, args *GetVbrPconnAssociationsArgs, opts ...InvokeOption) (*GetVbrPconnAssociationsResult, error)
func GetVbrPconnAssociationsOutput(ctx *Context, args *GetVbrPconnAssociationsOutputArgs, opts ...InvokeOption) GetVbrPconnAssociationsResultOutput> Note: This function is named GetVbrPconnAssociations in the Go SDK.
public static class GetVbrPconnAssociations
{
public static Task<GetVbrPconnAssociationsResult> InvokeAsync(GetVbrPconnAssociationsArgs args, InvokeOptions? opts = null)
public static Output<GetVbrPconnAssociationsResult> Invoke(GetVbrPconnAssociationsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVbrPconnAssociationsResult> getVbrPconnAssociations(GetVbrPconnAssociationsArgs args, InvokeOptions options)
public static Output<GetVbrPconnAssociationsResult> getVbrPconnAssociations(GetVbrPconnAssociationsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:expressconnect/getVbrPconnAssociations:getVbrPconnAssociations
arguments:
# arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of Vbr Pconn Association IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Page
Number int - Page
Size int - Vbr
Id string - The ID of the VBR instance.
- Ids []string
- A list of Vbr Pconn Association IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Page
Number int - Page
Size int - Vbr
Id string - The ID of the VBR instance.
- ids List<String>
- A list of Vbr Pconn Association IDs.
- output
File String - File name where to save data source results (after running
pulumi preview). - page
Number Integer - page
Size Integer - vbr
Id String - The ID of the VBR instance.
- ids string[]
- A list of Vbr Pconn Association IDs.
- output
File string - File name where to save data source results (after running
pulumi preview). - page
Number number - page
Size number - vbr
Id string - The ID of the VBR instance.
- ids Sequence[str]
- A list of Vbr Pconn Association IDs.
- output_
file str - File name where to save data source results (after running
pulumi preview). - page_
number int - page_
size int - vbr_
id str - The ID of the VBR instance.
- ids List<String>
- A list of Vbr Pconn Association IDs.
- output
File String - File name where to save data source results (after running
pulumi preview). - page
Number Number - page
Size Number - vbr
Id String - The ID of the VBR instance.
getVbrPconnAssociations Result
The following output properties are available:
- Associations
List<Pulumi.
Ali Cloud. Express Connect. Outputs. Get Vbr Pconn Associations Association> - A list of Vbr Pconn Association Entries. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Output
File string - Page
Number int - Page
Size int - Vbr
Id string - The ID of the VBR instance.
- Associations
[]Get
Vbr Pconn Associations Association - A list of Vbr Pconn Association Entries. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Output
File string - Page
Number int - Page
Size int - Vbr
Id string - The ID of the VBR instance.
- associations
List<Get
Vbr Pconn Associations Association> - A list of Vbr Pconn Association Entries. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- output
File String - page
Number Integer - page
Size Integer - vbr
Id String - The ID of the VBR instance.
- associations
Get
Vbr Pconn Associations Association[] - A list of Vbr Pconn Association Entries. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- output
File string - page
Number number - page
Size number - vbr
Id string - The ID of the VBR instance.
- associations
Sequence[Get
Vbr Pconn Associations Association] - A list of Vbr Pconn Association Entries. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- output_
file str - page_
number int - page_
size int - vbr_
id str - The ID of the VBR instance.
- associations List<Property Map>
- A list of Vbr Pconn Association Entries. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- output
File String - page
Number Number - page
Size Number - vbr
Id String - The ID of the VBR instance.
Supporting Types
GetVbrPconnAssociationsAssociation
- Circuit
Code string - The circuit code provided by the operator for the physical connection.
- Enable
Ipv6 bool - Whether IPv6 is enabled.
- Id string
- The ID of the Vbr Pconn Association.
- Local
Gateway stringIp - The Alibaba cloud IP address of the VBR instance.
- Local
Ipv6Gateway stringIp - The IPv6 address on the Alibaba Cloud side of the VBR instance.
- Peer
Gateway stringIp - The client IP address of the VBR instance.
- Peer
Ipv6Gateway stringIp - The IPv6 address of the client side of the VBR instance.
- Peering
Ipv6Subnet stringMask - 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 stringMask - 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 stringId - The ID of the leased line instance.
- Status string
- The status of the resource
- Vbr
Id string - The ID of the VBR instance.
- Vlan
Id int - VLAN ID of the VBR.
- Circuit
Code string - The circuit code provided by the operator for the physical connection.
- Enable
Ipv6 bool - Whether IPv6 is enabled.
- Id string
- The ID of the Vbr Pconn Association.
- Local
Gateway stringIp - The Alibaba cloud IP address of the VBR instance.
- Local
Ipv6Gateway stringIp - The IPv6 address on the Alibaba Cloud side of the VBR instance.
- Peer
Gateway stringIp - The client IP address of the VBR instance.
- Peer
Ipv6Gateway stringIp - The IPv6 address of the client side of the VBR instance.
- Peering
Ipv6Subnet stringMask - 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 stringMask - 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 stringId - The ID of the leased line instance.
- Status string
- The status of the resource
- Vbr
Id string - The ID of the VBR instance.
- Vlan
Id int - VLAN ID of the VBR.
- circuit
Code String - The circuit code provided by the operator for the physical connection.
- enable
Ipv6 Boolean - Whether IPv6 is enabled.
- id String
- The ID of the Vbr Pconn Association.
- local
Gateway StringIp - The Alibaba cloud IP address of the VBR instance.
- local
Ipv6Gateway StringIp - The IPv6 address on the Alibaba Cloud side of the VBR instance.
- peer
Gateway StringIp - The client IP address of the VBR instance.
- peer
Ipv6Gateway StringIp - The IPv6 address of the client side of the VBR instance.
- peering
Ipv6Subnet StringMask - 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 StringMask - 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 StringId - The ID of the leased line instance.
- status String
- The status of the resource
- vbr
Id String - The ID of the VBR instance.
- vlan
Id Integer - VLAN ID of the VBR.
- circuit
Code string - The circuit code provided by the operator for the physical connection.
- enable
Ipv6 boolean - Whether IPv6 is enabled.
- id string
- The ID of the Vbr Pconn Association.
- local
Gateway stringIp - The Alibaba cloud IP address of the VBR instance.
- local
Ipv6Gateway stringIp - The IPv6 address on the Alibaba Cloud side of the VBR instance.
- peer
Gateway stringIp - The client IP address of the VBR instance.
- peer
Ipv6Gateway stringIp - The IPv6 address of the client side of the VBR instance.
- peering
Ipv6Subnet stringMask - 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 stringMask - 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 stringId - The ID of the leased line instance.
- status string
- The status of the resource
- vbr
Id string - The ID of the VBR instance.
- vlan
Id number - VLAN ID of the VBR.
- circuit_
code str - The circuit code provided by the operator for the physical connection.
- enable_
ipv6 bool - Whether IPv6 is enabled.
- id str
- The ID of the Vbr Pconn Association.
- local_
gateway_ strip - The Alibaba cloud IP address of the VBR instance.
- local_
ipv6_ strgateway_ ip - The IPv6 address on the Alibaba Cloud side of the VBR instance.
- peer_
gateway_ strip - The client IP address of the VBR instance.
- peer_
ipv6_ strgateway_ ip - The IPv6 address of the client side of the VBR instance.
- peering_
ipv6_ strsubnet_ mask - 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_ strmask - 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_ strid - 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.
- circuit
Code String - The circuit code provided by the operator for the physical connection.
- enable
Ipv6 Boolean - Whether IPv6 is enabled.
- id String
- The ID of the Vbr Pconn Association.
- local
Gateway StringIp - The Alibaba cloud IP address of the VBR instance.
- local
Ipv6Gateway StringIp - The IPv6 address on the Alibaba Cloud side of the VBR instance.
- peer
Gateway StringIp - The client IP address of the VBR instance.
- peer
Ipv6Gateway StringIp - The IPv6 address of the client side of the VBR instance.
- peering
Ipv6Subnet StringMask - 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 StringMask - 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 StringId - The ID of the leased line instance.
- status String
- The status of the resource
- vbr
Id String - The ID of the VBR instance.
- vlan
Id Number - VLAN ID of the VBR.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
Alibaba Cloud v3.88.1 published on Saturday, Nov 8, 2025 by Pulumi
