Queries the zones in a 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 of the Server Load Balancer (SLB) instance. | cn-hangzhou |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "A48D35FF-440A-4BC0-A4A2-A9BF69B7E43A",
"Zones": {
"Zone": [
{
"ZoneId": "cn-hangzhou-b",
"LocalName": "The list of secondary zones.\n",
"SlaveZones": {
"SlaveZone": [
{
"ZoneId": "cn-hangzhou-g",
"LocalName": "Queries zones in a specified region."
}
]
}
}
]
}
}Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 400 | InvalidParameter | InvalidParameter | - |
| 400 | InvalidParameter | Illegal parameter, query.namespace is not auth. | |
| 403 | UnauthorizedRegion | The specified region of is not authorized. | The specified region of is not authorized. |
For a list of error codes, visit the Service error codes.
Change history
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-02-14 | The Error code has changed | View Change Details |
