You can call this operation to query available regions.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeRegions

The operation that you want to perform. Set the value to DescribeRegions.

AcceptLanguage String No zh-CN

The natural language that is used to filter responses. For more information, see RFC 7231.

Valid values: zh-CN, en-US, and ja.

Default value: zh-CN.

Response parameters

Parameter Type Example Description
Regions

The set of regions.

LocalName String China (Hangzhou)

The name of the zone in the local language.

RegionEndpoint String ros.aliyuncs.com

The endpoint of the region.

RegionId String cn-hangzhou

The ID of the region.

RequestId String 59F0F0A0-A637-4292-9B91-251EF5010913

The ID of the request.

Examples

Sample requests


http(s)://ros.aliyuncs.com/? Action=DescribeRegions
&<Common request parameters>

Sample success responses

XML format

<DescribeRegionsResponse>
    <Regions>
        <Region>
            <RegionId>cn-qingdao</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>China (Qingdao)</LocalName>
        </Region>
        <Region>
            <RegionId>cn-beijing</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>China (Beijing)</LocalName>
        </Region>
        <Region>
            <RegionId>cn-zhangjiakou</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>China (Zhangjiakou-Beijing Winter Olympics)</LocalName>
        </Region>
        <Region>
            <RegionId>cn-huhehaote</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>China (Hohhot)</LocalName>
        </Region>
        <Region>
            <RegionId>cn-hangzhou</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>China (Hangzhou)</LocalName>
        </Region>
        <Region>
            <RegionId>cn-shanghai</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>China (Shanghai)</LocalName>
        </Region>
        <Region>
            <RegionId>cn-shenzhen</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>China (Shenzhen)</LocalName>
        </Region>
        <Region>
            <RegionId>cn-chengdu</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>China (Chengdu)</LocalName>
        </Region>
        <Region>
            <RegionId>cn-hongkong</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>China (Hong Kong)</LocalName>
        </Region>
        <Region>
            <RegionId>ap-northeast-1</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>Japan (Tokyo)</LocalName>
        </Region>
        <Region>
            <RegionId>ap-southeast-1</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>Singapore</LocalName>
        </Region>
        <Region>
            <RegionId>ap-southeast-2</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>Australia (Sydney)</LocalName>
        </Region>
        <Region>
            <RegionId>ap-southeast-3</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>Malaysia (Kuala Lumpur)</LocalName>
        </Region>
        <Region>
            <RegionId>ap-southeast-5</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>Indonesia (Jakarta)</LocalName>
        </Region>
        <Region>
            <RegionId>ap-south-1</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>India (Mumbai)</LocalName>
        </Region>
        <Region>
            <RegionId>us-east-1</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>US (Virginia)</LocalName>
        </Region>
        <Region>
            <RegionId>us-west-1</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>US (Silicon Valley)</LocalName>
        </Region>
        <Region>
            <RegionId>eu-west-1</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>UK (London)</LocalName>
        </Region>
        <Region>
            <RegionId>me-east-1</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>UAE (Dubai)</LocalName>
        </Region>
        <Region>
            <RegionId>eu-central-1</RegionId>
            <RegionEndpoint>ros.aliyuncs.com</RegionEndpoint>
            <LocalName>Germany (Frankfurt)</LocalName>
        </Region>
    </Regions>
    <RequestId>59F0F0A0-A637-4292-9B91-251EF5010913</RequestId>
</DescribeRegionsResponse>

JSON format

{
	"RequestId":"59F0F0A0-A637-4292-9B91-251EF5010913",
	"Regions":[
		{
			"RegionId":"cn-qingdao",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName":"China (Qingdao)"
		},
		{
			"RegionId":"cn-beijing",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName":"China (Beijing)"
		},
		{
			"RegionId":"cn-zhangjiakou",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName":"China (Zhangjiakou-Beijing Winter Olympics)"
		},
		{
			"RegionId":"cn-huhehaote",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName":"China (Hohhot)"
		},
		{
			"RegionId":"cn-hangzhou",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName":"China (Hangzhou)"
		},
		{
			"RegionId":"cn-shanghai",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName":"China (Shanghai)"
		},
		{
			"RegionId":"cn-shenzhen",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName":"China (Shenzhen)"
		},
		{
			"RegionId":"cn-chengdu",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName":"China (Chengdu)"
		},
		{
			"RegionId":"cn-hongkong",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName": "China (Hong Kong)"
		},
		{
			"RegionId":"ap-northeast-1",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName": "Japan (Tokyo)"
		},
		{
			"RegionId":"ap-southeast-1",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName":"Singapore"
		},
		{
			"RegionId":"ap-southeast-2",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName": "Australia (Sydney)"
		},
		{
			"RegionId":"ap-southeast-3",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName": "Malaysia (Kuala Lumpur)"
		},
		{
			"RegionId":"ap-southeast-5",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName": "Indonesia (Jakarta)"
		},
		{
			"RegionId":"ap-south-1",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName": "India (Mumbai)"
		},
		{
			"RegionId":"us-east-1",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName": "US (Virginia)"
		},
		{
			"RegionId":"us-west-1",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName": "US (Silicon Valley)"
		},
		{
			"RegionId":"eu-west-1",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName": "UK (London)"
		},
		{
			"RegionId":"me-east-1",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName": "UAE (Dubai)"
		},
		{
			"RegionId":"eu-central-1",
			"RegionEndpoint":"ros.aliyuncs.com",
			"LocalName": "Germany (Frankfurt)"
		}
	]
}

Error codes

For a list of error codes, visit the API Error Center.

For more information about errors common to all operations, see Common errors.