ListVpds

Updated at:

Queries the details of one or more Lingjun VPDs, including the VPD status, CIDR block, service CIDR block, and subnets.

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:ListVpds

get

*Vpd

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

None None

Request parameters

Parameter

Type

Required

Description

Example

VpdName

string

No

The name of the Lingjun VPD instance.

vpd-1

RegionId

string

Yes

The region ID.

cn-wulanchabu

VpdId

string

No

The instance ID of the Lingjun CIDR block (VPD).

vpd-fuliephf

Status

string

No

The instance status. Valid values:

  • Available: The instance is available.

  • Not Available: The instance is unavailable.

  • Executing: The instance is being processed.

  • Deleting: The instance is being deleted.

Available

WithDependence

boolean

No

Specifies whether dependent resource information is included. We recommend that you do not query dependent resource information during paging in a paged query. You can query it separately when you delete resources. Valid values:

  • true: Includes dependent resource information.

  • false: Does not include dependent resource information.

false

ForSelect

boolean

No

Specifies whether the query is used for drop-down list selection. If set to true, only basic information, including the instance ID and instance name, is returned. Valid values:

  • true: Used for drop-down list queries.

  • false: Used for normal queries.

true

WithoutVcc

boolean

No

Specifies whether to query Lingjun VPDs that are not associated with a Lingjun Connection (VCC). Valid values:

  • true: Filters out VPDs that are associated with a VCC.

  • false: Does not filter out VPDs that are associated with a VCC.

true

FilterErId

string

No

Queries the information about Lingjun VPDs that are not associated with a specified Lingjun HUB.

er-kkopgtne

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:, or contain http:// or https://.

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

tag-vpd-region

Value

string

No

The tag value of the resource.

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

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

wulanchabu

PageNumber

integer

No

The page number. Pages start from page 1. Default value: 1.

1

PageSize

integer

No

The number of entries per page.

20

EnablePage

boolean

No

Specifies whether paging for a paged query is enabled.

false

Response elements

Element

Type

Description

Example

object

The response object.

Code

integer

The response code.

0

Message

string

The returned message.

success

RequestId

string

The request ID.

9C50C9CD-E799-54DA-BA7A-1FAF3DF80857

Content

object

The response content.

Total

integer

The total number of records.

0

Data

array<object>

The returned data.

array<object>

The supplementary information.

TenantId

string

The tenant ID.

1655449505171

RegionId

string

The region ID.

cn-wulanchabu

VpdId

string

The Lingjun VPD instance ID.

vpd-lg4dppgi

VpdName

string

The Lingjun VPD name.

vpd-1

Cidr

string

The CIDR block of the VPD.

  • We recommend that you use private endpoints defined in RFCs as the CIDR block of the Lingjun VPD, such as 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. In scenarios where multiple Lingjun VPDs communicate with each other or a Lingjun VPD communicates with a VPC over a private network, ensure that the address planning does not conflict.

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

10.0.0.0/8

ServiceCidr

string

The service CIDR block.

169.254.252.0/23

Status

string

The status.

Available

Message

string

The message.

Success

NcCount

integer

The number of NCs.

16

NetworkInterfaceCount

integer

The number of Lingjun ENIs.

1

SubnetCount

integer

The number of subnets.

1

CreateTime

string

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

1678273219000

GmtModified

string

The update time.

1678273219000

Dependence

object

The dependencies.

{ "subnet": [ { "tenantId": "1620939556166277", "regionId": "cn-wulanchabu", "zoneId": "cn", "type": null, "subnetId": "subnet-zqebaxa0", "name": "lql_testVPD" } ], "nc": [{}] }

any

The dependency list.

[ { "tenantId": "1620939556166277", "regionId": "cn-wulanchabu", "zoneId": "cn", "type": null, "subnetId": "subnet-zqebaxa0", "name": "lql_testVPD" } ]

ErInfos

array<object>

The list of associated Lingjun HUBs (ERs).

object

The information about the associated Lingjun HUB (ER).

CreateTime

string

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

1678273219000

GmtModified

string

The update time.

1678273219000

Message

string

The message.

Success

ErId

string

The ER instance ID.

er-63vzm0fw

RegionId

string

The region.

cn-wulanchabu

TenantId

string

The tenant ID.

1620939556166277

Status

string

The status.

Available

ErName

string

The Lingjun HUB (ER) instance name.

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:, or contain http:// or https://.

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

tag-vpd-region

TagValue

string

The tag value of the resource.

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

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

cn-wulanchabu

ResourceGroupId

string

The resource group ID.

rg-aek2l4sq6l7unhi

SecondaryCidrBlocks

array

The list of secondary CIDR blocks.

string

The secondary CIDR block of the VPD.

10.0.0.0/8

AccessDeniedDetail

string

The access denial details.

None

Examples

Success response

JSON format

{
  "Code": 0,
  "Message": "success",
  "RequestId": "9C50C9CD-E799-54DA-BA7A-1FAF3DF80857",
  "Content": {
    "Total": 0,
    "Data": [
      {
        "TenantId": "1655449505171",
        "RegionId": "cn-wulanchabu",
        "VpdId": "vpd-lg4dppgi",
        "VpdName": "vpd-1",
        "Cidr": "10.0.0.0/8",
        "ServiceCidr": "169.254.252.0/23",
        "Status": "Available",
        "Message": "Success",
        "NcCount": 16,
        "NetworkInterfaceCount": 1,
        "SubnetCount": 1,
        "CreateTime": "1678273219000",
        "GmtModified": "1678273219000",
        "Dependence": {
          "key": "[\n    {\n        \"tenantId\": \"1620939556166277\",\n        \"regionId\": \"cn-wulanchabu\",\n        \"zoneId\": \"cn\",\n        \"type\": null,\n        \"subnetId\": \"subnet-zqebaxa0\",\n        \"name\": \"lql_testVPD\"\n    }\n]"
        },
        "ErInfos": [
          {
            "CreateTime": "1678273219000",
            "GmtModified": "\t\n1678273219000",
            "Message": "Success",
            "ErId": "er-63vzm0fw",
            "RegionId": "cn-wulanchabu",
            "TenantId": "1620939556166277",
            "Status": "Available",
            "ErName": "er-1",
            "MasterZoneId": "cn-wulanchabu-b",
            "Description": "Description",
            "Connections": 2,
            "RouteMaps": 2
          }
        ],
        "Tags": [
          {
            "TagKey": "tag-vpd-region",
            "TagValue": "cn-wulanchabu"
          }
        ],
        "ResourceGroupId": "rg-aek2l4sq6l7unhi",
        "SecondaryCidrBlocks": [
          "10.0.0.0/8"
        ]
      }
    ]
  },
  "AccessDeniedDetail": "None"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.