Queries the zones that are available for VPCs.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh |
| MemberUid |
string |
No |
The UID of the Cloud Firewall member account. |
1415189284827022 |
| RegionNo |
string |
Yes |
The region ID. |
cn-shanghai |
| Environment |
string |
No |
The environment. Valid values:
|
VPC |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The ID of the request. |
694DFBF3-C060-529F-92D0-7FC7E0DA1E21 |
| ZoneList |
array<object> |
The list of zones. |
|
|
object |
The list of zones. |
||
| ZoneId |
string |
The ID of the zone. |
cn-hangzhou-b |
| LocalName |
string |
The name of the zone. |
华东 1 可用区 B |
| ZoneType |
string |
The type of the zone. The default value is `AvailabilityZone`, which indicates a standard cloud zone. |
AvailabilityZone |
Examples
Success response
JSON format
{
"RequestId": "694DFBF3-C060-529F-92D0-7FC7E0DA1E21",
"ZoneList": [
{
"ZoneId": "cn-hangzhou-b",
"LocalName": "华东 1 可用区 B",
"ZoneType": "AvailabilityZone"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorAliUid | Aliuid invalid. | The aliuid is invalid. |
| 400 | ErrorInvalidMemberUid | Member uid is invalid | The member is invalid. |
| 400 | ErrorUserCredentials | user credentials failed | Access permissions required. You must grant permissions to the firewall. |
| 400 | ErrorVpcOpenApi | vpc open api failed | Failed to call the VPC API. |
| 400 | ErrorParameters | A parameter error occurred. | A parameter error occurred. |
| 400 | ErrorCenTRAssociationNotFound | CEN-TR attachment association not found. | CEN-TR attachment association not found. |
| 400 | ErrorRegionNoError | Region is error, please reselect | The specified region is invalid. Enter another value. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.