ListVccs

Updated at:

Queries the details of one or more Lingjun connections, including the specifications, physical connection access port type, instance status, bandwidth, and BGP CIDR blocks.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

eflo:ListVccs

get

*Vcc

acs:eflo:{#regionId}:{#accountId}:vcc/*

None None

Request parameters

Parameter

Type

Required

Description

Example

RegionId

string

No

The region ID.

cn-wulanchabu

VpdId

string

No

The Lingjun CIDR block instance ID.

vpd-omqutbff

VpcId

string

No

The ID of the virtual private cloud (VPC).

You can call the DescribeVpcs operation to query a specific VPC.

vpc-bp1nrtkmamy329u6a1z0i

CenId

string

No

The ID of the Cloud Enterprise Network (CEN) instance.

You can call the DescribeCens operation to query the CEN instances within the current Alibaba Cloud account.

cen-95iwtpyvj3kk1v0ao0

Bandwidth

integer

No

The peak bandwidth of the Lingjun connection instance. Unit: Mbit/s. Valid values: 1000 to 400000.

5000

Status

string

No

The instance status.

Available

ExStatus

string

No

Excludes data in the specified status. If the Status parameter is specified, the ExStatus parameter does not take effect.

Prepaid

VccId

string

No

The Lingjun connection instance ID.

vcc-cn-zvp2w222001

FilterErId

string

No

Filters the query by the Lingjun HUB instance ID.

er-a7rqv1rq

ResourceGroupId

string

No

The ID of the resource group.

rg-aeky5f3qx6ceapq

Tag

array<object>

No

The tag information.

You can specify up to 20 tags at a time.

object

No

The tag information.

Key

string

No

The tag key of the resource.

The tag key cannot be an empty string. It can be up to 64 characters in length and cannot start with aliyun or acs:. It cannot contain http:// or https://.

You can specify up to 20 tag keys at a time.

tag-vcc

Value

string

No

The tag value of the resource.

The tag value can be an empty string or a string of up to 128 characters in length. It cannot start with aliyun or acs: and cannot contain http:// or https://.

Each tag key corresponds to a tag value. You can specify up to 20 tag values at a time.

vcc-group-1

PageNumber

integer

No

The page number. Starting value: 1. Default value: 1.

1

PageSize

integer

No

The number of entries per page. Default value: 20.

20

EnablePage

boolean

No

Specifies whether to enable paged query. Valid values:

  • true: Enables paging.

  • false: Disables paging.

false

Response elements

Element

Type

Description

Example

object

The response information.

Code

integer

The response status code.

0

Message

string

The error message. If the instance status is abnormal, this field indicates the cause of the exception.

Success

RequestId

string

The ID of the request.

28451248-7038-5184-B5D3-80F104654BE8

Content

object

The response content.

Total

integer

The total number of records.

0

Data

array<object>

The list of Lingjun connection information.

array<object>

The Lingjun connection information.

TenantId

string

The tenant ID.

1620939556166279

RegionId

string

The region ID.

cn-wulanchabu

ZoneId

string

The zone ID.

cn-wulanchabu-b

VccId

string

The Lingjun connection instance ID.

vcc-cn-zvp2w222001

VpdId

string

The Lingjun CIDR block instance ID.

vpd-eoiy88ju

VpcId

string

The ID of the virtual private cloud (VPC).

vpc-f8ziirfl9k25h2qn7y4f8

CenId

string

The ID of the Cloud Enterprise Network (CEN) instance.

cen-w15qot0pfvs83pkckj

VccName

string

The name of the Lingjun connection instance.

vcc-heyuan-backup

AccessPointId

string

The ID of the access point for the physical connection. Valid values:

  • ap-cn-wulanchabu-jn-ts-A: Ulanqab-Jining-A

  • ap-cn-heyuan-yc-ts-SA127: Heyuan-Yuancheng-A

ap-cn-wulanchabu-jn-ts-A

LineOperator

string

The carrier that provides the physical connection. Valid values:

  • CO: Other carriers in China

CO

Spec

string

The specifications.

Large

PortType

string

The type of the port used for the physical connection. Valid values:

  • 100GBase-LR: 100 Gbit/s single-mode optical port (10 km)

100GBase-LR

Status

string

The instance status.

Init

CurrentNode

string

The current process node.

Persist resource data

Message

string

The error message. If the instance status is abnormal, this field indicates the cause of the exception.

Success

CreateTime

string

The creation time. The value is a 13-digit UNIX timestamp in milliseconds.

1678273219000

GmtModified

string

The update time.

1678273219000

TaskId

string

The task ID.

task-cd544092-ed0a-49e9-83eb-e8c94770dccf

VpdBaseInfo

object

The Lingjun VPD information. This field applies to scenarios where a legacy Lingjun connection is directly bound to a Lingjun VPD.

VpdId

string

The Lingjun CIDR block instance ID.

vpd-9n7ioqrp

VpdName

string

The name of the Lingjun VPD instance.

yzp-rg-test3

Cidr

string

The CIDR block of the VPD.

  • Use RFC private network addresses as the CIDR block of the Lingjun CIDR block, such as 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. If multiple Lingjun CIDR blocks need to communicate with each other or a Lingjun CIDR block needs to communicate with a VPC, make sure that the CIDR blocks do not conflict.

  • You can also use a custom CIDR block as the primary IPv4 CIDR block of the VPD, except for 100.64.0.0/10, 224.0.0.0/4, 127.0.0.0/8, or 169.254.0.0/16 and their subnets.

10.0.0.0/13

CreateTime

string

The creation time. The value is a 13-digit UNIX timestamp in milliseconds.

1668158213000

Rate

number

The process progress. Valid values: 0 to 1. If the process has not started, the value is null.

1

BandwidthStr

string

The bandwidth.

1000

CommodityCode

string

The commodity code.

bccluster_cloudconnectionpre_public_cn

BgpCidr

string

The BGP CIDR block.

172.16.128.0/24

ExpirationDate

string

The expiration time. The value is a 13-digit UNIX timestamp in milliseconds.

1678273219000

ResourceGroupId

string

The resource group ID.

rg-aek2l4sq6l7unhi

ErInfos

array<object>

The list of bound Lingjun HUB information.

object

The bound Lingjun HUB information.

CreateTime

string

The creation time. The value is a 13-digit UNIX timestamp in milliseconds.

1678273219000

GmtModified

string

The modification time.

1678273219000

Message

string

The message.

Success

ErId

string

The elastic router ID.

er-a7rqv1rq

RegionId

string

The region ID of the ER.

cn-wulanchabu

TenantId

string

The tenant ID.

1620939556166277

Status

string

The status.

Available

ErName

string

The name of the ER instance.

er-1

MasterZoneId

string

The primary zone.

cn-wulanchabu-b

Description

string

The description.

Description

Connections

integer

The number of connections.

2

RouteMaps

integer

The number of route maps.

2

Tags

array<object>

The tag information.

You can specify up to 20 tags at a time.

object

The tag information.

TagKey

string

The tag key of the resource.

The tag key cannot be an empty string. It can be up to 64 characters in length and cannot start with aliyun or acs:. It cannot contain http:// or https://.

You can specify up to 20 tag keys at a time.

tag-vcc

TagValue

string

The tag value of the resource.

The tag value can be an empty string or a string of up to 128 characters in length. It cannot start with aliyun or acs: and cannot contain http:// or https://.

Each tag key corresponds to a tag value. You can specify up to 20 tag values at a time.

vcc-group-1

ConnectionType

string

The connection type. Valid values:

  • VPC

  • CENTR

Valid values:

  • VPC :

    VPC

  • CENTR :

    CENTR

CENTR

CenOwnerId

string

The ID of the account that owns the CEN.

1238685214107736

BgpAsn

string

The BGP ASN.

4200057312

AccessDeniedDetail

string

The detailed reason for the access denial.

None

Examples

Success response

JSON format

{
  "Code": 0,
  "Message": "Succeeded",
  "RequestId": "28451248-7038-5184-B5D3-80F104654BE8",
  "Content": {
    "Total": 0,
    "Data": [
      {
        "TenantId": "1620939556166279\n",
        "RegionId": "cn-wulanchabu",
        "ZoneId": "cn-wulanchabu-b",
        "VccId": "vcc-cn-zvp2w222001",
        "VpdId": "vpd-eoiy88ju",
        "VpcId": "vpc-f8ziirfl9k25h2qn7y4f8",
        "CenId": "cen-w15qot0pfvs83pkckj",
        "VccName": "vcc-heyuan-backup",
        "AccessPointId": "ap-cn-wulanchabu-jn-ts-A",
        "LineOperator": "CO",
        "Spec": "Large",
        "PortType": "100GBase-LR\n",
        "Status": "Init",
        "CurrentNode": "test-xxxx-node-x",
        "Message": "some message",
        "CreateTime": "1678273219000",
        "GmtModified": "1678273219000",
        "TaskId": "task-cd544092-ed0a-49e9-83eb-e8c94770dccf",
        "VpdBaseInfo": {
          "VpdId": "vpd-9n7ioqrp",
          "VpdName": "yzp-rg-test3",
          "Cidr": "10.0.0.0/13",
          "CreateTime": "1668158213000"
        },
        "Rate": 1,
        "BandwidthStr": "1000",
        "CommodityCode": "bccluster_cloudconnectionpre_public_cn",
        "BgpCidr": "172.16.128.0/24",
        "ExpirationDate": "1678273219000",
        "ResourceGroupId": "rg-aek2l4sq6l7unhi",
        "ErInfos": [
          {
            "CreateTime": "1678273219000",
            "GmtModified": "1678273219000",
            "Message": "success",
            "ErId": "er-a7rqv1rq",
            "RegionId": "cn-wulanchabu",
            "TenantId": "1620939556166277",
            "Status": "Available",
            "ErName": "er-1",
            "MasterZoneId": "cn-wulanchabu-b",
            "Description": "Description",
            "Connections": 2,
            "RouteMaps": 2
          }
        ],
        "Tags": [
          {
            "TagKey": "tag-vcc",
            "TagValue": "vcc-group-1"
          }
        ],
        "ConnectionType": "CENTR",
        "CenOwnerId": "1238685214107736",
        "BgpAsn": "bgpAsn"
      }
    ]
  },
  "AccessDeniedDetail": "None"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.