ListVpds
Queries the details of one or more Lingjun VPDs, including the VPD status, CIDR block, service CIDR block, and subnets.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:ListVpds |
get |
*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 |
| 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:
|
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 |
| WithoutVcc |
boolean |
No |
Specifies whether to query Lingjun VPDs that are not associated with a Lingjun Connection (VCC). Valid values:
|
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.
|
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.