Queries the most recent region list.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
ProductType | String | No | VPC | The service type. Default value: VPC. |
AcceptLanguage | String | No | zh-CN | The language of the response. Valid values:
|
Action | String | Yes | DescribeRegions | The operation that you want to perform. Set the value to DescribeRegions. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F | The ID of the request. |
Regions | Array of Region | The list of regions. |
|
Region | |||
RegionEndpoint | String | vpc.aliyuncs.com | The endpoint of the region. |
LocalName | String | China (Qingdao) | The name of the region. |
RegionId | String | cn-qingdao | The ID of the region. |
Examples
Sample requests
http(s)://[Endpoint]/?ProductType=VPC
&AcceptLanguage=zh-CN
&Action=DescribeRegions
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeRegionsResponse>
<RequestId>611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F</RequestId>
<Regions>
<RegionEndpoint>vpc.aliyuncs.com</RegionEndpoint>
<LocalName>China (Qingdao)</LocalName>
<RegionId>cn-qingdao</RegionId>
</Regions>
</DescribeRegionsResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F",
"Regions" : [ {
"RegionEndpoint" : "vpc.aliyuncs.com",
"LocalName" : "China (Qingdao)",
"RegionId" : "cn-qingdao"
} ]
}
Error codes
For a list of error codes, see Service error codes.