You can call this operation to query the zones of a cluster that can be set as the primary zone.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| InstanceId | string | Yes | The ID of the OceanBase cluster. | ob317v4uif**** |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "E3D924FB-52****B253-0C1A7EFB778C",
"ZoneList": [
{
"Zone": "cn-hangzhou-i",
"IsInCluster": true,
"ReplicateZoneIndex": 1,
"LogicalZoneName": "cn-shanghai-g-z0,cn-shanghai-g-z1, cn-shanghai-g-z2"
}
]
}Error codes
For a list of error codes, visit the Service error codes.
