1. Registry
  2. Packages
  3. Alibaba Cloud Provider
  4. API Docs
  5. expressconnect
  6. getRouterVpcAssociations
Viewing docs for Alibaba Cloud v3.105.0
published on Thursday, Jul 16, 2026 by Pulumi
alicloud logo alicloud logo
Viewing docs for Alibaba Cloud v3.105.0
published on Thursday, Jul 16, 2026 by Pulumi

    This data source provides the Express Connect Router Vpc Association of the current Alibaba Cloud user.

    NOTE: Available since v1.285.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") || "terraform-example";
    const _default = alicloud.getAccount({});
    const defaultGetRegions = alicloud.getRegions({
        current: true,
    });
    const defaultRouterExpressConnectRouter = new alicloud.expressconnect.RouterExpressConnectRouter("default", {alibabaSideAsn: 65532});
    const defaultNetwork = new alicloud.vpc.Network("default", {cidrBlock: "172.16.0.0/16"});
    const defaultRouterVpcAssociation = new alicloud.expressconnect.RouterVpcAssociation("default", {
        ecrId: defaultRouterExpressConnectRouter.id,
        vpcId: defaultNetwork.id,
        associationRegionId: defaultGetRegions.then(defaultGetRegions => defaultGetRegions.regions?.[0]?.id),
        vpcOwnerId: output(_default.then(_default => _default.id)).apply(x =>Number(x)),
        allowedPrefixes: [
            "172.16.1.0/24",
            "172.16.2.0/24",
            "172.16.3.0/24",
        ],
    });
    const ids = alicloud.expressconnect.getRouterVpcAssociationsOutput({
        ids: [defaultRouterVpcAssociation.id],
        ecrId: defaultRouterVpcAssociation.ecrId,
    });
    export const expressConnectRouterVpcAssociationsId0 = ids.apply(ids => ids.associations?.[0]?.id);
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "terraform-example"
    default = alicloud.get_account()
    default_get_regions = alicloud.get_regions(current=True)
    default_router_express_connect_router = alicloud.expressconnect.RouterExpressConnectRouter("default", alibaba_side_asn=65532)
    default_network = alicloud.vpc.Network("default", cidr_block="172.16.0.0/16")
    default_router_vpc_association = alicloud.expressconnect.RouterVpcAssociation("default",
        ecr_id=default_router_express_connect_router.id,
        vpc_id=default_network.id,
        association_region_id=default_get_regions.regions[0].id,
        vpc_owner_id=output(default.id).apply(lambda x: int(x)),
        allowed_prefixes=[
            "172.16.1.0/24",
            "172.16.2.0/24",
            "172.16.3.0/24",
        ])
    ids = alicloud.expressconnect.get_router_vpc_associations_output(ids=[default_router_vpc_association.id],
        ecr_id=default_router_vpc_association.ecr_id)
    pulumi.export("expressConnectRouterVpcAssociationsId0", ids.associations[0].id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/expressconnect"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
    	"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 := "terraform-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		_default, err := alicloud.GetAccount(ctx, map[string]interface{}{}, nil)
    		if err != nil {
    			return err
    		}
    		defaultGetRegions, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{
    			Current: pulumi.BoolRef(true),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		defaultRouterExpressConnectRouter, err := expressconnect.NewRouterExpressConnectRouter(ctx, "default", &expressconnect.RouterExpressConnectRouterArgs{
    			AlibabaSideAsn: pulumi.Int(65532),
    		})
    		if err != nil {
    			return err
    		}
    		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
    			CidrBlock: pulumi.String("172.16.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		defaultRouterVpcAssociation, err := expressconnect.NewRouterVpcAssociation(ctx, "default", &expressconnect.RouterVpcAssociationArgs{
    			EcrId:               defaultRouterExpressConnectRouter.ID(),
    			VpcId:               defaultNetwork.ID(),
    			AssociationRegionId: pulumi.String(defaultGetRegions.Regions[0].Id),
    			VpcOwnerId:          pulumi.String(_default.Id),
    			AllowedPrefixes: pulumi.StringArray{
    				pulumi.String("172.16.1.0/24"),
    				pulumi.String("172.16.2.0/24"),
    				pulumi.String("172.16.3.0/24"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		ids := expressconnect.GetRouterVpcAssociationsOutput(ctx, expressconnect.GetRouterVpcAssociationsOutputArgs{
    			Ids: pulumi.StringArray{
    				defaultRouterVpcAssociation.ID(),
    			},
    			EcrId: defaultRouterVpcAssociation.EcrId,
    		}, nil)
    		ctx.Export("expressConnectRouterVpcAssociationsId0", ids.ApplyT(func(ids expressconnect.GetRouterVpcAssociationsResult) (*string, error) {
    			return ids.Associations[0].Id, nil
    		}).(pulumi.StringPtrOutput))
    		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") ?? "terraform-example";
        var @default = AliCloud.GetAccount.Invoke();
    
        var defaultGetRegions = AliCloud.GetRegions.Invoke(new()
        {
            Current = true,
        });
    
        var defaultRouterExpressConnectRouter = new AliCloud.ExpressConnect.RouterExpressConnectRouter("default", new()
        {
            AlibabaSideAsn = 65532,
        });
    
        var defaultNetwork = new AliCloud.Vpc.Network("default", new()
        {
            CidrBlock = "172.16.0.0/16",
        });
    
        var defaultRouterVpcAssociation = new AliCloud.ExpressConnect.RouterVpcAssociation("default", new()
        {
            EcrId = defaultRouterExpressConnectRouter.Id,
            VpcId = defaultNetwork.Id,
            AssociationRegionId = defaultGetRegions.Apply(getRegionsResult => getRegionsResult.Regions[0]?.Id),
            VpcOwnerId = @default.Apply(@default => @default.Apply(getAccountResult => getAccountResult.Id)),
            AllowedPrefixes = new[]
            {
                "172.16.1.0/24",
                "172.16.2.0/24",
                "172.16.3.0/24",
            },
        });
    
        var ids = AliCloud.ExpressConnect.GetRouterVpcAssociations.Invoke(new()
        {
            Ids = new[]
            {
                defaultRouterVpcAssociation.Id,
            },
            EcrId = defaultRouterVpcAssociation.EcrId,
        });
    
        return new Dictionary<string, object?>
        {
            ["expressConnectRouterVpcAssociationsId0"] = ids.Apply(getRouterVpcAssociationsResult => getRouterVpcAssociationsResult.Associations[0]?.Id),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.AlicloudFunctions;
    import com.pulumi.alicloud.inputs.GetRegionsArgs;
    import com.pulumi.alicloud.expressconnect.RouterExpressConnectRouter;
    import com.pulumi.alicloud.expressconnect.RouterExpressConnectRouterArgs;
    import com.pulumi.alicloud.vpc.Network;
    import com.pulumi.alicloud.vpc.NetworkArgs;
    import com.pulumi.alicloud.expressconnect.RouterVpcAssociation;
    import com.pulumi.alicloud.expressconnect.RouterVpcAssociationArgs;
    import com.pulumi.alicloud.expressconnect.ExpressconnectFunctions;
    import com.pulumi.alicloud.expressconnect.inputs.GetRouterVpcAssociationsArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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("terraform-example");
            final var default = AlicloudFunctions.getAccount(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
    
            final var defaultGetRegions = AlicloudFunctions.getRegions(GetRegionsArgs.builder()
                .current(true)
                .build());
    
            var defaultRouterExpressConnectRouter = new RouterExpressConnectRouter("defaultRouterExpressConnectRouter", RouterExpressConnectRouterArgs.builder()
                .alibabaSideAsn(65532)
                .build());
    
            var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
                .cidrBlock("172.16.0.0/16")
                .build());
    
            var defaultRouterVpcAssociation = new RouterVpcAssociation("defaultRouterVpcAssociation", RouterVpcAssociationArgs.builder()
                .ecrId(defaultRouterExpressConnectRouter.id())
                .vpcId(defaultNetwork.id())
                .associationRegionId(defaultGetRegions.regions()[0].id())
                .vpcOwnerId(default_.id())
                .allowedPrefixes(            
                    "172.16.1.0/24",
                    "172.16.2.0/24",
                    "172.16.3.0/24")
                .build());
    
            final var ids = ExpressconnectFunctions.getRouterVpcAssociations(GetRouterVpcAssociationsArgs.builder()
                .ids(defaultRouterVpcAssociation.id())
                .ecrId(defaultRouterVpcAssociation.ecrId())
                .build());
    
            ctx.export("expressConnectRouterVpcAssociationsId0", ids.applyValue(_ids -> _ids.associations()[0].id()));
        }
    }
    
    configuration:
      name:
        type: string
        default: terraform-example
    resources:
      defaultRouterExpressConnectRouter:
        type: alicloud:expressconnect:RouterExpressConnectRouter
        name: default
        properties:
          alibabaSideAsn: '65532'
      defaultNetwork:
        type: alicloud:vpc:Network
        name: default
        properties:
          cidrBlock: 172.16.0.0/16
      defaultRouterVpcAssociation:
        type: alicloud:expressconnect:RouterVpcAssociation
        name: default
        properties:
          ecrId: ${defaultRouterExpressConnectRouter.id}
          vpcId: ${defaultNetwork.id}
          associationRegionId: ${defaultGetRegions.regions[0].id}
          vpcOwnerId: ${default.id}
          allowedPrefixes:
            - 172.16.1.0/24
            - 172.16.2.0/24
            - 172.16.3.0/24
    variables:
      default:
        fn::invoke:
          function: alicloud:getAccount
          arguments: {}
      defaultGetRegions:
        fn::invoke:
          function: alicloud:getRegions
          arguments:
            current: true
      ids:
        fn::invoke:
          function: alicloud:expressconnect:getRouterVpcAssociations
          arguments:
            ids:
              - ${defaultRouterVpcAssociation.id}
            ecrId: ${defaultRouterVpcAssociation.ecrId}
    outputs:
      expressConnectRouterVpcAssociationsId0: ${ids.associations[0].id}
    
    pulumi {
      required_providers {
        alicloud = {
          source = "pulumi/alicloud"
        }
      }
    }
    
    data "alicloud_getaccount" "default" {
    }
    data "alicloud_getregions" "defaultGetRegions" {
      current = true
    }
    data "alicloud_expressconnect_getroutervpcassociations" "ids" {
      ids    = [alicloud_expressconnect_routervpcassociation.default.id]
      ecr_id = alicloud_expressconnect_routervpcassociation.default.ecr_id
    }
    
    resource "alicloud_expressconnect_routerexpressconnectrouter" "default" {
      alibaba_side_asn = "65532"
    }
    resource "alicloud_vpc_network" "default" {
      cidr_block = "172.16.0.0/16"
    }
    resource "alicloud_expressconnect_routervpcassociation" "default" {
      ecr_id                = alicloud_expressconnect_routerexpressconnectrouter.default.id
      vpc_id                = alicloud_vpc_network.default.id
      association_region_id = data.alicloud_getregions.defaultGetRegions.regions[0].id
      vpc_owner_id          = data.alicloud_getaccount.default.id
      allowed_prefixes      = ["172.16.1.0/24", "172.16.2.0/24", "172.16.3.0/24"]
    }
    variable "name" {
      type    = string
      default = "terraform-example"
    }
    output "expressConnectRouterVpcAssociationsId0" {
      value = data.alicloud_expressconnect_getroutervpcassociations.ids.associations[0].id
    }
    

    Using getRouterVpcAssociations

    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 getRouterVpcAssociations(args: GetRouterVpcAssociationsArgs, opts?: InvokeOptions): Promise<GetRouterVpcAssociationsResult>
    function getRouterVpcAssociationsOutput(args: GetRouterVpcAssociationsOutputArgs, opts?: InvokeOutputOptions): Output<GetRouterVpcAssociationsResult>
    def get_router_vpc_associations(association_id: Optional[str] = None,
                                    association_region_id: Optional[str] = None,
                                    ecr_id: Optional[str] = None,
                                    ids: Optional[Sequence[str]] = None,
                                    output_file: Optional[str] = None,
                                    status: Optional[str] = None,
                                    vpc_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetRouterVpcAssociationsResult
    def get_router_vpc_associations_output(association_id: pulumi.Input[Optional[str]] = None,
                                    association_region_id: pulumi.Input[Optional[str]] = None,
                                    ecr_id: pulumi.Input[Optional[str]] = None,
                                    ids: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                                    output_file: pulumi.Input[Optional[str]] = None,
                                    status: pulumi.Input[Optional[str]] = None,
                                    vpc_id: pulumi.Input[Optional[str]] = None,
                                    opts: Optional[InvokeOutputOptions] = None) -> Output[GetRouterVpcAssociationsResult]
    func GetRouterVpcAssociations(ctx *Context, args *GetRouterVpcAssociationsArgs, opts ...InvokeOption) (*GetRouterVpcAssociationsResult, error)
    func GetRouterVpcAssociationsOutput(ctx *Context, args *GetRouterVpcAssociationsOutputArgs, opts ...InvokeOption) GetRouterVpcAssociationsResultOutput

    > Note: This function is named GetRouterVpcAssociations in the Go SDK.

    public static class GetRouterVpcAssociations 
    {
        public static Task<GetRouterVpcAssociationsResult> InvokeAsync(GetRouterVpcAssociationsArgs args, InvokeOptions? opts = null)
        public static Output<GetRouterVpcAssociationsResult> Invoke(GetRouterVpcAssociationsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetRouterVpcAssociationsResult> Invoke(GetRouterVpcAssociationsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetRouterVpcAssociationsResult> getRouterVpcAssociations(GetRouterVpcAssociationsArgs args, InvokeOptions options)
    public static Output<GetRouterVpcAssociationsResult> getRouterVpcAssociations(GetRouterVpcAssociationsArgs args, InvokeOptions options)
    public static Output<GetRouterVpcAssociationsResult> getRouterVpcAssociations(GetRouterVpcAssociationsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: alicloud:expressconnect/getRouterVpcAssociations:getRouterVpcAssociations
      arguments:
        # arguments dictionary
    data "alicloud_expressconnect_get_router_vpc_associations" "name" {
        # arguments
    }

    The following arguments are supported:

    EcrId string
    The ID of the Express Connect Router instance.
    AssociationId string
    The ID of the association between the Express Connect Router and the VPC.
    AssociationRegionId string
    The region ID of the associated VPC.
    Ids List<string>
    A list of Vpc Association IDs.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Status string
    The status of the association. Valid values: CREATING, ACTIVE, INACTIVE, ASSOCIATING, DISSOCIATING, UPDATING, DELETING.
    VpcId string
    The ID of the VPC instance.
    EcrId string
    The ID of the Express Connect Router instance.
    AssociationId string
    The ID of the association between the Express Connect Router and the VPC.
    AssociationRegionId string
    The region ID of the associated VPC.
    Ids []string
    A list of Vpc Association IDs.
    OutputFile string
    File name where to save data source results (after running pulumi preview).
    Status string
    The status of the association. Valid values: CREATING, ACTIVE, INACTIVE, ASSOCIATING, DISSOCIATING, UPDATING, DELETING.
    VpcId string
    The ID of the VPC instance.
    ecr_id string
    The ID of the Express Connect Router instance.
    association_id string
    The ID of the association between the Express Connect Router and the VPC.
    association_region_id string
    The region ID of the associated VPC.
    ids list(string)
    A list of Vpc Association IDs.
    output_file string
    File name where to save data source results (after running pulumi preview).
    status string
    The status of the association. Valid values: CREATING, ACTIVE, INACTIVE, ASSOCIATING, DISSOCIATING, UPDATING, DELETING.
    vpc_id string
    The ID of the VPC instance.
    ecrId String
    The ID of the Express Connect Router instance.
    associationId String
    The ID of the association between the Express Connect Router and the VPC.
    associationRegionId String
    The region ID of the associated VPC.
    ids List<String>
    A list of Vpc Association IDs.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    status String
    The status of the association. Valid values: CREATING, ACTIVE, INACTIVE, ASSOCIATING, DISSOCIATING, UPDATING, DELETING.
    vpcId String
    The ID of the VPC instance.
    ecrId string
    The ID of the Express Connect Router instance.
    associationId string
    The ID of the association between the Express Connect Router and the VPC.
    associationRegionId string
    The region ID of the associated VPC.
    ids string[]
    A list of Vpc Association IDs.
    outputFile string
    File name where to save data source results (after running pulumi preview).
    status string
    The status of the association. Valid values: CREATING, ACTIVE, INACTIVE, ASSOCIATING, DISSOCIATING, UPDATING, DELETING.
    vpcId string
    The ID of the VPC instance.
    ecr_id str
    The ID of the Express Connect Router instance.
    association_id str
    The ID of the association between the Express Connect Router and the VPC.
    association_region_id str
    The region ID of the associated VPC.
    ids Sequence[str]
    A list of Vpc Association IDs.
    output_file str
    File name where to save data source results (after running pulumi preview).
    status str
    The status of the association. Valid values: CREATING, ACTIVE, INACTIVE, ASSOCIATING, DISSOCIATING, UPDATING, DELETING.
    vpc_id str
    The ID of the VPC instance.
    ecrId String
    The ID of the Express Connect Router instance.
    associationId String
    The ID of the association between the Express Connect Router and the VPC.
    associationRegionId String
    The region ID of the associated VPC.
    ids List<String>
    A list of Vpc Association IDs.
    outputFile String
    File name where to save data source results (after running pulumi preview).
    status String
    The status of the association. Valid values: CREATING, ACTIVE, INACTIVE, ASSOCIATING, DISSOCIATING, UPDATING, DELETING.
    vpcId String
    The ID of the VPC instance.

    getRouterVpcAssociations Result

    The following output properties are available:

    Associations List<Pulumi.AliCloud.ExpressConnect.Outputs.GetRouterVpcAssociationsAssociation>
    A list of Vpc Associations. Each element contains the following attributes:
    EcrId string
    The ID of the Express Connect Router instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    AssociationId string
    The ID of the association between the Express Connect Router and the VPC.
    AssociationRegionId string
    OutputFile string
    Status string
    The status of the association.
    VpcId string
    The ID of the VPC instance.
    Associations []GetRouterVpcAssociationsAssociation
    A list of Vpc Associations. Each element contains the following attributes:
    EcrId string
    The ID of the Express Connect Router instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    AssociationId string
    The ID of the association between the Express Connect Router and the VPC.
    AssociationRegionId string
    OutputFile string
    Status string
    The status of the association.
    VpcId string
    The ID of the VPC instance.
    associations list(object)
    A list of Vpc Associations. Each element contains the following attributes:
    ecr_id string
    The ID of the Express Connect Router instance.
    id string
    The provider-assigned unique ID for this managed resource.
    ids list(string)
    association_id string
    The ID of the association between the Express Connect Router and the VPC.
    association_region_id string
    output_file string
    status string
    The status of the association.
    vpc_id string
    The ID of the VPC instance.
    associations List<GetRouterVpcAssociationsAssociation>
    A list of Vpc Associations. Each element contains the following attributes:
    ecrId String
    The ID of the Express Connect Router instance.
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    associationId String
    The ID of the association between the Express Connect Router and the VPC.
    associationRegionId String
    outputFile String
    status String
    The status of the association.
    vpcId String
    The ID of the VPC instance.
    associations GetRouterVpcAssociationsAssociation[]
    A list of Vpc Associations. Each element contains the following attributes:
    ecrId string
    The ID of the Express Connect Router instance.
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    associationId string
    The ID of the association between the Express Connect Router and the VPC.
    associationRegionId string
    outputFile string
    status string
    The status of the association.
    vpcId string
    The ID of the VPC instance.
    associations Sequence[GetRouterVpcAssociationsAssociation]
    A list of Vpc Associations. Each element contains the following attributes:
    ecr_id str
    The ID of the Express Connect Router instance.
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    association_id str
    The ID of the association between the Express Connect Router and the VPC.
    association_region_id str
    output_file str
    status str
    The status of the association.
    vpc_id str
    The ID of the VPC instance.
    associations List<Property Map>
    A list of Vpc Associations. Each element contains the following attributes:
    ecrId String
    The ID of the Express Connect Router instance.
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    associationId String
    The ID of the association between the Express Connect Router and the VPC.
    associationRegionId String
    outputFile String
    status String
    The status of the association.
    vpcId String
    The ID of the VPC instance.

    Supporting Types

    GetRouterVpcAssociationsAssociation

    AllowedPrefixes List<string>
    The prefix-based routing mode.
    AllowedPrefixesMode string
    The prefix-based routing mode.
    AssociationId string
    The ID of the association between the Express Connect Router and the VPC.
    AssociationNodeType string
    The type of the associated resource.
    CreateTime string
    The time when the association was created.
    EcrId string
    The ID of the Express Connect Router instance.
    Id string
    The ID of the Vpc Association.
    ModifyTime string
    The time when the association was modified.
    Status string
    The status of the association. Valid values: CREATING, ACTIVE, INACTIVE, ASSOCIATING, DISSOCIATING, UPDATING, DELETING.
    VpcId string
    The ID of the VPC instance.
    VpcOwnerId string
    The ID of the Alibaba Cloud account that owns the VPC.
    AllowedPrefixes []string
    The prefix-based routing mode.
    AllowedPrefixesMode string
    The prefix-based routing mode.
    AssociationId string
    The ID of the association between the Express Connect Router and the VPC.
    AssociationNodeType string
    The type of the associated resource.
    CreateTime string
    The time when the association was created.
    EcrId string
    The ID of the Express Connect Router instance.
    Id string
    The ID of the Vpc Association.
    ModifyTime string
    The time when the association was modified.
    Status string
    The status of the association. Valid values: CREATING, ACTIVE, INACTIVE, ASSOCIATING, DISSOCIATING, UPDATING, DELETING.
    VpcId string
    The ID of the VPC instance.
    VpcOwnerId string
    The ID of the Alibaba Cloud account that owns the VPC.
    allowed_prefixes list(string)
    The prefix-based routing mode.
    allowed_prefixes_mode string
    The prefix-based routing mode.
    association_id string
    The ID of the association between the Express Connect Router and the VPC.
    association_node_type string
    The type of the associated resource.
    create_time string
    The time when the association was created.
    ecr_id string
    The ID of the Express Connect Router instance.
    id string
    The ID of the Vpc Association.
    modify_time string
    The time when the association was modified.
    status string
    The status of the association. Valid values: CREATING, ACTIVE, INACTIVE, ASSOCIATING, DISSOCIATING, UPDATING, DELETING.
    vpc_id string
    The ID of the VPC instance.
    vpc_owner_id string
    The ID of the Alibaba Cloud account that owns the VPC.
    allowedPrefixes List<String>
    The prefix-based routing mode.
    allowedPrefixesMode String
    The prefix-based routing mode.
    associationId String
    The ID of the association between the Express Connect Router and the VPC.
    associationNodeType String
    The type of the associated resource.
    createTime String
    The time when the association was created.
    ecrId String
    The ID of the Express Connect Router instance.
    id String
    The ID of the Vpc Association.
    modifyTime String
    The time when the association was modified.
    status String
    The status of the association. Valid values: CREATING, ACTIVE, INACTIVE, ASSOCIATING, DISSOCIATING, UPDATING, DELETING.
    vpcId String
    The ID of the VPC instance.
    vpcOwnerId String
    The ID of the Alibaba Cloud account that owns the VPC.
    allowedPrefixes string[]
    The prefix-based routing mode.
    allowedPrefixesMode string
    The prefix-based routing mode.
    associationId string
    The ID of the association between the Express Connect Router and the VPC.
    associationNodeType string
    The type of the associated resource.
    createTime string
    The time when the association was created.
    ecrId string
    The ID of the Express Connect Router instance.
    id string
    The ID of the Vpc Association.
    modifyTime string
    The time when the association was modified.
    status string
    The status of the association. Valid values: CREATING, ACTIVE, INACTIVE, ASSOCIATING, DISSOCIATING, UPDATING, DELETING.
    vpcId string
    The ID of the VPC instance.
    vpcOwnerId string
    The ID of the Alibaba Cloud account that owns the VPC.
    allowed_prefixes Sequence[str]
    The prefix-based routing mode.
    allowed_prefixes_mode str
    The prefix-based routing mode.
    association_id str
    The ID of the association between the Express Connect Router and the VPC.
    association_node_type str
    The type of the associated resource.
    create_time str
    The time when the association was created.
    ecr_id str
    The ID of the Express Connect Router instance.
    id str
    The ID of the Vpc Association.
    modify_time str
    The time when the association was modified.
    status str
    The status of the association. Valid values: CREATING, ACTIVE, INACTIVE, ASSOCIATING, DISSOCIATING, UPDATING, DELETING.
    vpc_id str
    The ID of the VPC instance.
    vpc_owner_id str
    The ID of the Alibaba Cloud account that owns the VPC.
    allowedPrefixes List<String>
    The prefix-based routing mode.
    allowedPrefixesMode String
    The prefix-based routing mode.
    associationId String
    The ID of the association between the Express Connect Router and the VPC.
    associationNodeType String
    The type of the associated resource.
    createTime String
    The time when the association was created.
    ecrId String
    The ID of the Express Connect Router instance.
    id String
    The ID of the Vpc Association.
    modifyTime String
    The time when the association was modified.
    status String
    The status of the association. Valid values: CREATING, ACTIVE, INACTIVE, ASSOCIATING, DISSOCIATING, UPDATING, DELETING.
    vpcId String
    The ID of the VPC instance.
    vpcOwnerId String
    The ID of the Alibaba Cloud account that owns the VPC.

    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 alicloud logo
    Viewing docs for Alibaba Cloud v3.105.0
    published on Thursday, Jul 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial