DescribeZones

Updated at: 2025-03-27 11:24

Queries the zones that support Tair (Redis OSS-compatible) in a specific region.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The region ID.

cn-huhehaote
AcceptLanguagestringNo

The display language of the zone names to return. Valid values:

  • zh-CN (default): Chinese
  • en-US: English
en-US

Response parameters

ParameterTypeDescriptionExample
ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

1D42F072-72FE-4DC4-BB8E-64B1D298****
Zonesarray<object>

The queried zones.

KVStoreZoneobject
IsRdsboolean

Indicates whether the zone is managed by ApsaraDB RDS. The return value of this parameter is true in Tair (Redis OSS-compatible).

true
ZoneIdstring

The ID of the zone within the specified region.

cn-huhehaote-b
Disabledboolean

Indicates whether Tair (Redis OSS-compatible) instances can be created in the current zone. Valid values:

  • true: Tair (Redis OSS-compatible) instances cannot be created in the current zone.
  • false: Tair (Redis OSS-compatible) instances can be created in the current zone.
true
SwitchNetworkboolean

Indicates whether the network type of the instance can be changed from the classic network to Virtual Private Cloud (VPC). Valid values:

  • true: The network type of the instance can be changed from the classic network to VPC.
  • false: The network type of the instance cannot be changed from the classic network to VPC.
true
ZoneNamestring

The name of the zone within the specified region.

Hohhot Zone B
RegionIdstring

The ID of the region.

cn-huhehaote

Examples

Sample success responses

JSONformat

{
  "RequestId": "1D42F072-72FE-4DC4-BB8E-64B1D298****",
  "Zones": {
    "KVStoreZone": [
      {
        "IsRds": true,
        "ZoneId": "cn-huhehaote-b",
        "Disabled": true,
        "SwitchNetwork": true,
        "ZoneName": "Hohhot Zone B\n",
        "RegionId": "cn-huhehaote"
      }
    ]
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
Change timeSummary of changesOperation
2025-03-25API Description UpdateView Change Details
  • On this page (1)
  • Debugging
  • Authorization information
  • Request parameters
  • Response parameters
  • Examples
  • Error codes
  • Change history
Feedback
phone Contact Us

Chat now with Alibaba Cloud Customer Service to assist you in finding the right products and services to meet your needs.

alicare alicarealicarealicare