All Products
Search
Document Center

ApsaraDB for Redis:DescribeZones

Last Updated:Aug 28, 2023

Queries the zones available for ApsaraDB for Redis.

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.

debugging

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringNo

The region ID.

cn-huhehaote

Response parameters

ParameterTypeDescriptionExample
object
Zonesobject []

The queried zones.

IsRdsboolean

Indicates whether the zone is managed by ApsaraDB RDS. The return value of this parameter is true in ApsaraDB for Redis.

true
ZoneIdstring

The ID of the zone within the specified region.

cn-huhehaote-b
Disabledboolean

Indicates whether ApsaraDB for Redis instances can be created in the current zone. Valid values:

  • true: ApsaraDB for Redis instances cannot be created in the current zone.
  • false: ApsaraDB for Redis 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.

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": "",
        "RegionId": "cn-huhehaote"
      }
    ]
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history