DescribeZones
Queries the zones in a specified region.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| AcceptLanguage |
string |
No |
The language in which the response is returned. Valid values:
|
zh-CN |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
A48D35FF-440A-4BC0-A4A2-A9BF69B7E43A |
| Zones |
object |
||
| Zone |
array<object> |
The list of zones. |
|
|
array<object> |
|||
| ZoneId |
string |
The zone ID. |
cn-hangzhou-b |
| LocalName |
string |
The zone name. |
Hangzhou Zone B |
| SlaveZones |
object |
||
| SlaveZone |
array<object> |
The list of secondary zones corresponding to the primary zone. |
|
|
object |
|||
| ZoneId |
string |
The secondary zone ID. |
cn-hangzhou-g |
| LocalName |
string |
The secondary zone name. |
Hangzhou Zone G |
Examples
Success response
JSON format
{
"RequestId": "A48D35FF-440A-4BC0-A4A2-A9BF69B7E43A",
"Zones": {
"Zone": [
{
"ZoneId": "cn-hangzhou-b",
"LocalName": "Hangzhou Zone B",
"SlaveZones": {
"SlaveZone": [
{
"ZoneId": "cn-hangzhou-g",
"LocalName": "Hangzhou Zone G"
}
]
}
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | InvalidParameter | The Vgw ip is empty. Specify the Vgw ip parameter. |
| 403 | UnauthorizedRegion | The specified region of is not authorized. | The specified region of is not authorized. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.