Description

You can call this operation to query available regions and zones. You must make a DescribeRegions request to query the value of RegionId of the target region before calling the CreateDBInstance operation.

Request parameters

Name Type Required  Description
<Common request parameters> -  Yes For more information, see Common parameters.
Action String Yes The operation that you want to perform. Set the value to DescribeRegions.

Response parameters

Name  Type Description
<Common response parameters> - For more information, see Common response parameters.
Regions List<Region> The list of regions.
Table 1. Region parameters
Name Type Description
RegionId String  The name of a region.
Zones List<Zone> The list of zones.
Table 2. Zone parameters
Name Type Description
ZoneId  String  The name of a zone.
VpcEnabled Boolean This parameter indicates whether a VPC is available.

Sample requests

https://gpdb.aliyuncs.com/?Action=DescribeRegions
&<Common request parameters>

Sample responses

XML format

<DescribeRegionsResponse>
 <RequestId>FF8EB261-5447-4B1B-9F14-294CEA008A9F</RequestId>
	<Regions>
		<Region>
			<RegionId>cn-beijing</RegionId>
			<Zones>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>cn-beijing-c</ZoneId>
				</Zone>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>cn-beijing-g</ZoneId>
				</Zone>
			</Zones>
		</Region>
		<Region>
			<RegionId>cn-zhangjiakou</RegionId>
			<Zones>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>cn-zhangjiakou-b</ZoneId>
				</Zone>
			</Zones>
		</Region>
		<Region>
			<RegionId>cn-hangzhou</RegionId>
			<Zones>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>cn-hangzhou-b</ZoneId>
				</Zone>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>cn-hangzhou-e</ZoneId>
				</Zone>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>cn-hangzhou-f</ZoneId>
				</Zone>
			</Zones>
		</Region>
		<Region>
			<RegionId>cn-shanghai</RegionId>
			<Zones>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>cn-shanghai-b</ZoneId>
				</Zone>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>cn-shanghai-d</ZoneId>
				</Zone>
			</Zones>
		</Region>
		<Region>
			<RegionId>cn-shenzhen</RegionId>
			<Zones>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>cn-shenzhen-a</ZoneId>
				</Zone>
			</Zones>
		</Region>
		<Region>
			<RegionId>ap-southeast-1</RegionId>
			<Zones>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>ap-southeast-1b</ZoneId>
				</Zone>
			</Zones>
		</Region>
		<Region>
			<RegionId>ap-southeast-2</RegionId>
			<Zones>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>ap-southeast-2a</ZoneId>
				</Zone>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>ap-southeast-2b</ZoneId>
				</Zone>
			</Zones>
		</Region>
		<Region>
			<RegionId>us-east-1</RegionId>
			<Zones>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>us-east-1b</ZoneId>
				</Zone>
			</Zones>
		</Region>
		<Region>
			<RegionId>us-west-1</RegionId>
			<Zones>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>us-west-1a</ZoneId>
				</Zone>
			</Zones>
		</Region>
		<Region>
			<RegionId>cn-chengdu</RegionId>
			<Zones>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>cn-chengdu-a</ZoneId>
				</Zone>
			</Zones>
		</Region>
		<Region>
			<RegionId>ap-southeast-3</RegionId>
			<Zones>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>ap-southeast-3a</ZoneId>
				</Zone>
			</Zones>
		</Region>
		<Region>
			<RegionId>cn-huhehaote</RegionId>
			<Zones>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>cn-huhehaote-a</ZoneId>
				</Zone>
			</Zones>
		</Region>
		<Region>
			<RegionId>ap-south-1</RegionId>
			<Zones>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>ap-south-1a</ZoneId>
				</Zone>
			</Zones>
		</Region>
		<Region>
			<RegionId>ap-southeast-5</RegionId>
			<Zones>
				<Zone>
					<VpcEnabled>true</VpcEnabled>
					<ZoneId>ap-southeast-5a</ZoneId>
				</Zone>
			</Zones>
		</Region>
	</Regions>
</DescribeRegionsResponse>

JSON format

{
    "RequestId":"FF8EB261-5447-4B1B-9F14-294CEA008A9F",
    "Regions":{
        "Region":[
            {
                "RegionId":"cn-beijing",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-beijing-c"
                        },
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-beijing-g"
                        }
                    ]
                }
            },
            {
                "RegionId":"cn-zhangjiakou",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-zhangjiakou-b"
                        }
                    ]
                }
            },
            {
                "RegionId":"cn-hangzhou",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-hangzhou-b"
                        },
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-hangzhou-e"
                        },
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-hangzhou-f"
                        }
                    ]
                }
            },
            {
                "RegionId":"cn-shanghai",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-shanghai-b"
                        },
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-shanghai-d"
                        }
                    ]
                }
            },
            {
                "RegionId":"cn-shenzhen",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-shenzhen-a"
                        }
                    ]
                }
            },
            {
                "RegionId":"ap-southeast-1",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"ap-southeast-1b"
                        }
                    ]
                }
            },
            {
                "RegionId":"ap-southeast-2",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"ap-southeast-2a"
                        },
                        {
                            "VpcEnabled":true,
                            "ZoneId":"ap-southeast-2b"
                        }
                    ]
                }
            },
            {
                "RegionId":"us-east-1",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"us-east-1b"3333
                        }
                    ]
                }
            },
            {
                "RegionId":"us-west-1",
                "Zones":{
                    333333333"Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"us-west-1a"
                        }
                    ]
                }
            },
            {
                "RegionId":"cn-chengdu",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-chengdu-a"
                        }
                    ]
                }
            },
            {
                "RegionId":"ap-southeast-3",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"ap-southeast-3a"
                        }
                    ]
                }
            },
            {
                "RegionId":"cn-huhehaote",
                "Zones":{
                    "Zone": [
                        {
                            "VpcEnabled":true,
                            "ZoneId":"cn-huhehaote-a"
                        }
                    ]
                }
            },
            {
                "RegionId":"ap-south-1",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"ap-south-1a"
                        }
                    ]
                }
            },
            {
                "RegionId":"ap-southeast-5",
                "Zones":{
                    "Zone":[
                        {
                            "VpcEnabled":true,
                            "ZoneId":"ap-southeast-5a"
                        }
                    ]
                }
            }
        ]
    }
}