Queries the virtual private clouds (VPCs) that are available in a specified region.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. | cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"TotalCount": 10,
"RequestId": "BD65C0AD-D3C6-48D3-8D93-38D2015C****",
"NextToken": "\"\"",
"MaxResults": 10,
"Vpcs": [
{
"VpcId": "vpc-bp1qkf2o3xmqc2519****",
"VpcName": "vpc-test",
"Status": "Available",
"IsDefault": false
}
]
}
Error codes
For a list of error codes, visit the Service error codes.