All Products
Search
Document Center

Tair:DescribeRegions

Last Updated:Mar 20, 2023

Queries the regions in which ApsaraDB for Redis instances can be created.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AcceptLanguagestringNo

The language that the value of the LocalName response parameter uses.

  • zh-CN: Chinese
  • en-US: English
NoteDefault value: zh-CN.
zh-CN

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

AD425AD3-CC7B-4EE2-A5CB-2F61BA73****
RegionIdsarray

The value of the RegionIds parameter is an array. Each element in the array contains the RegionId and ZoneIds parameters.

object
RegionEndpointstring

The endpoint of the region.

r-kvstore.aliyuncs.com
LocalNamestring

The name of the region.

RegionIdstring

The ID of the region.

cn-hangzhou
ZoneIdsstring

The ID of the zone.

cn-hangzhou-h
ZoneIdListarray

The IDs of the zones in the region. The zone IDs are separated by commas (,).

string
cn-hangzhou-h

Examples

Sample success responses

JSONformat

{
  "RequestId": "AD425AD3-CC7B-4EE2-A5CB-2F61BA73****",
  "RegionIds": {
    "KVStoreRegion": [
      {
        "RegionEndpoint": "r-kvstore.aliyuncs.com",
        "LocalName": "",
        "RegionId": "cn-hangzhou",
        "ZoneIds": "cn-hangzhou-h",
        "ZoneIdList": {
          "ZoneId": [
            "cn-hangzhou-h"
          ]
        }
      }
    ]
  }
}

Error codes

For a list of error codes, visit the Service error codes.