Queries the available zones.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Engine |
string |
No |
The database engine. |
POLARDB |
| RegionId |
string |
No |
The region ID. Note
Call the DescribeRegions operation to view information about all available regions for your account, including region IDs. |
cn-zhangjiakou |
| Extra |
string |
No |
The engine extension. |
local |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
E2FDB684-751D-424D-98B9-704BEA****** |
| Zones |
array<object> |
A list of zones. |
|
|
object |
The data structure of the zone. |
||
| ModeCode |
string |
The enumeration of statuses. Valid values:
|
UnSet |
| Priority |
string |
The priority. |
50 |
| Status |
string |
The status of the zone. Valid values:
|
ON |
| ZoneId |
string |
The ID of the zone. |
cn-beijing-h |
Examples
Success response
JSON format
{
"RequestId": "E2FDB684-751D-424D-98B9-704BEA******\t\n",
"Zones": [
{
"ModeCode": "UnSet",
"Priority": "50",
"Status": "ON",
"ZoneId": "cn-beijing-h"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.