Get the Availability Zone List
Last Updated:2020-07-20
Request Structure
GET /v{version}/zone HTTP/1.1
HOST: redis.{region}.baidubce.com
Authorization: Authorization string
Request Header Field
There are no other special header fields except the public header field.
Request Parameter
Parameter Name | Type | Required | Parameter Position | Description |
---|---|---|---|---|
version | string | Yes | URI Parameter | API version No. |
Return Parameters
Parameter Name | Type | Description |
---|---|---|
zones | List ZoneNames | Availability zone list |
ZoneNames
Parameter Name | Type | Description |
---|---|---|
zoneNames | List String | Availability zone list |
Request Instance
GET /v1/zone HTTP/1.1
HOST: redis.bj.baidubce.com
Authorization bce-auth-v1/0255cb4f78f140728045b551d6a317ec/2018-11-13T06:05:41Z/1800/host/7767a07238b64a846fef59a0b919eec99d147e5fe23be98ff6bf90e32e889baf
Return Example
HTTP/1.1 200 OK
x-bce-request-id: 7869616F-7A68-6977-656E-406261696475
Content-Type: application/json
Content-Length: 567
{
"zones": [
{"zoneNames":["cn-bj-a"]},
{"zoneNames":["cn-bj-b"]},
{"zoneNames":["cn-bj-a","cn-bj-b"]}
]
}