Queries the zones in a region.
Try it now
Test
RAM authorization
Request parameters
Parameter | Type | Required | Description | Example |
RegionId | string | Yes | The region ID of the Server Load Balancer (SLB) instance. | cn-hangzhou |
AcceptLanguage | string | No |
Response elements
Element | Type | Description | Example |
object | |||
RequestId | string | The request ID. | A48D35FF-440A-4BC0-A4A2-A9BF69B7E43A |
| Zones | object | ||
| Zone | array<object> | The zones. | |
array<object> | |||
ZoneId | string | The ID of the zone. | cn-hangzhou-b |
LocalName | string | The name of the zone. | Hangzhou Zone B |
| SlaveZones | object | ||
| SlaveZone | array<object> | The secondary zones. | |
object | |||
ZoneId | string | The ID of the secondary zone. | cn-hangzhou-g |
LocalName | string | The name of the secondary zone. | 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 | |
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.