Queries a list of available virtual private clouds (VPCs).
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| RegionId | string | No | The region ID. | cn-hangzhou |
| ZoneId | string | No | The zone ID. | cn-hangzhou-k |
| VpcId | string | No | The VPC ID. | vpc-bp13h7uzhulpuxvnp**** |
Response parameters
Examples
Sample success responses
JSONformat
{
"Vpcs": {
"Vpc": [
{
"Status": "Available",
"VpcName": "vpc1",
"VpcId": "vpc-uf6m0r5pihw1r79od6990",
"IsDefault": false,
"CidrBlock": "192.168.0.0/16",
"RegionNo": "cn-hangzhou",
"GmtCreate": 1693217052000,
"AliUid": 1431771514176727,
"VSwitchs": [
{
"Status": "Available",
"VSwitchId": "vsw-8vbxk6ij0yz16bu4l3ijj",
"IsDefault": false,
"CidrBlock": "172.17.0.0/24",
"GmtCreate": 1549012834000,
"GmtModified": 1731031910000,
"IzNo": "cn-hangzhou-j",
"VSwitchName": "vs1"
}
],
"GmtModified": 1724639118000,
"Bid": 26842
}
]
},
"RequestId": "78BDC895-F7C0-5961-92BE-F1C3D12B4BB5"
}Error codes
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|
No change history
