You can call this operation to query available regions and zones for ApsaraDB for ClickHouse clusters.

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set the value to DescribeRegions.

Response parameters

Parameter Type Description
<Common response parameters> - For more information, see Common parameters.
Regions List<Region> The list of regions.

Region parameters

Parameter Type Description
RegionId String The ID of the region. Example: cn-hangzhou.
Zones List<Zones> The list of zones.

Zones parameters

Parameter Type Description
ZoneId String The ID of the zone. Example: cn-hangzhou-g.
VpcEnabled String Indicates whether the zone supports Virtual Private Cloud (VPC).

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeRegions
&<Common request parameters>

Sample success responses

XML format

<DescribeRegionsResponse>
  <Regions>
        <Region>
              <RegionId>cn-hangzhou</RegionId>
              <Zones>
                    <Zone>
                          <VpcEnabled>true</VpcEnabled>
                          <ZoneId>cn-hangzhou-i</ZoneId>
                    </Zone>
                    <Zone>
                          <VpcEnabled>true</VpcEnabled>
                          <ZoneId>cn-hangzhou-g</ZoneId>
                    </Zone>
              </Zones>
        </Region>
        <Region>
              <RegionId>cn-shanghai</RegionId>
              <Zones>
                    <Zone>
                          <VpcEnabled>true</VpcEnabled>
                          <ZoneId>cn-shanghai-e</ZoneId>
                    </Zone>
                    <Zone>
                          <VpcEnabled>true</VpcEnabled>
                          <ZoneId>cn-shanghai-f</ZoneId>
                    </Zone>
                    <Zone>
                          <VpcEnabled>true</VpcEnabled>
                          <ZoneId>cn-shanghai-d</ZoneId>
                    </Zone>
              </Zones>
        </Region>
        <Region>
              <RegionId>cn-beijing</RegionId>
              <Zones>
                    <Zone>
                          <VpcEnabled>true</VpcEnabled>
                          <ZoneId>cn-beijing-h</ZoneId>
                    </Zone>
                    <Zone>
                          <VpcEnabled>true</VpcEnabled>
                          <ZoneId>cn-beijing-g</ZoneId>
                    </Zone>
                    <Zone>
                          <VpcEnabled>true</VpcEnabled>
                          <ZoneId>cn-beijing-e</ZoneId>
                    </Zone>
              </Zones>
        </Region>
        <Region>
              <RegionId>cn-shenzhen</RegionId>
              <Zones>
                    <Zone>
                          <VpcEnabled>true</VpcEnabled>
                          <ZoneId>cn-shenzhen-e</ZoneId>
                    </Zone>
              </Zones>
        </Region>
        <Region>
              <RegionId>ap-southeast-1</RegionId>
              <Zones>
                    <Zone>
                          <VpcEnabled>true</VpcEnabled>
                          <ZoneId>ap-southeast-1c</ZoneId>
                    </Zone>
                    <Zone>
                          <VpcEnabled>true</VpcEnabled>
                          <ZoneId>ap-southeast-1a</ZoneId>
                    </Zone>
              </Zones>
        </Region>
  </Regions>
</DescribeRegionsResponse>

JSON format

{
    "Regions":{
        "Region":[
            {
                "RegionId":"cn-hangzhou",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-hangzhou-i"
                        },
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-hangzhou-g"
                        }
                    ]
                }
            },
            {
                "RegionId":"cn-shanghai",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-shanghai-e"
                        },
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-shanghai-f"
                        },
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-shanghai-d"
                        }
                    ]
                }
            },
            {
                "RegionId":"cn-beijing",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-beijing-h"
                        },
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-beijing-g"
                        },
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-beijing-e"
                        }
                    ]
                }
            },
            {
                "RegionId":"cn-shenzhen",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-shenzhen-e"
                        }
                    ]
                }
            },
            {
                "RegionId":"ap-southeast-1",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"ap-southeast-1c"
                        },
                        {
                            "VpcEnabled":true,
                            "ZoneId":"ap-southeast-1a"
                        }
                    ]
                }
            }
        ]
    }
}