Queries information about virtual private clouds (VPCs).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeVpcList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Count |
integer |
The total number of entries returned. |
1 |
| RequestId |
string |
The request ID, which is used to locate and troubleshoot issues. |
7E0618A9-D5EF-4220-9471-C42B5E92719F |
| VpcList |
array<object> |
The list of VPCs. |
|
|
object |
|||
| InstanceDesc |
string |
The description of the VPC. |
TestVpcNote |
| InstanceName |
string |
The name of the VPC. |
test |
| EcsCount |
integer |
The number of Elastic Compute Service (ECS) instances. |
9 |
| InstanceId |
string |
The ID of the ECS instance. |
ins_1321_asedb_ada |
| RegionId |
string |
The region in which the server resides. |
cn-hangzhou |
Examples
Success response
JSON format
{
"Count": 1,
"RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F",
"VpcList": [
{
"InstanceDesc": "TestVpcNote",
"InstanceName": "test",
"EcsCount": 9,
"InstanceId": "ins_1321_asedb_ada",
"RegionId": "cn-hangzhou"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.