Queries available regions.
Debugging
Request headers
This operation does not have operation-specific request headers and uses only common request headers. For more information, see Common request parameters and common response parameters.
Request syntax
GET /pop/v1/paas/regionConfig HTTP/1.1
Request parameters
No request parameters are required.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Message | String | success | The returned information. |
RequestId | String | DDE85827-B0B3-4E56-86E8-17C42009**** | The ID of the request. |
Regions | Array of Region | The list of regions. | |
Region | |||
LocalName | String | China (Hong Kong) | The name of the region. Valid values:
|
RegionEndpoint | String | sae.cn-hongkong.aliyuncs.com | The endpoint of the region. Valid values:
|
RegionId | String | cn-hongkong | The ID of the region. Valid values:
|
RecommendZones | Array of String | cn-hongkong-b | The recommended zones. Recommended zones have relatively sufficient resources in each region. Format:
|
Code | Integer | 200 | The HTTP status code. Valid values:
|
Examples
Sample requests
GET /pop/v1/paas/regionConfig HTTP/1.1
Host:sae.aliyuncs.com
Content-Type:application/json
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DescribeRegionsResponse>
<Message>success</Message>
<RequestId>DDE85827-B0B3-4E56-86E8-17C42009****</RequestId>
<Regions>
<LocalName>China (Hong Kong)</LocalName>
<RegionEndpoint>sae.cn-hongkong.aliyuncs.com</RegionEndpoint>
<RegionId>cn-hongkong</RegionId>
<RecommendZones>cn-hongkong-b</RecommendZones>
</Regions>
<Code>200</Code>
</DescribeRegionsResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"Message" : "success",
"RequestId" : "DDE85827-B0B3-4E56-86E8-17C42009****",
"Regions" : [ {
"LocalName" : "China (Hong Kong)"
"RegionEndpoint" : "sae.cn-hongkong.aliyuncs.com",
"RegionId" : "cn-hongkong",
"RecommendZones" : [ "cn-hongkong-b" ]
} ],
"Code" : 200
}
Error codes
For a list of error codes, visit the API Error Center.