Queries the available regions.
Try it now
Test
RAM authorization
Request syntax
GET /pop/v1/paas/regionConfig HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| Message |
string |
Additional information about the response. |
success |
| RequestId |
string |
The request ID. |
DDE85827-B0B3-4E56-86E8-17C42009**** |
| Regions |
object |
||
| Region |
array<object> |
A list of regions. |
|
|
array<object> |
Details for a region. |
||
| LocalName |
string |
The name of the region. Valid values:
|
China (Hong Kong) |
| RegionEndpoint |
string |
The endpoint of the region. Valid values:
|
sae.cn-hongkong.aliyuncs.com |
| RegionId |
string |
The region ID. Valid values:
|
cn-hongkong |
| RecommendZones |
object |
||
| RecommendZone |
array |
Recommended availability zones. |
|
|
string |
The recommended availability zones. These are zones within a region with sufficient resources.
|
cn-hongkong-b |
|
| Code |
integer |
The HTTP status code. Valid values:
|
200 |
Examples
Success response
JSON format
{
"Message": "success",
"RequestId": "DDE85827-B0B3-4E56-86E8-17C42009****",
"Regions": {
"Region": [
{
"LocalName": "China (Hong Kong)",
"RegionEndpoint": "sae.cn-hongkong.aliyuncs.com",
"RegionId": "cn-hongkong",
"RecommendZones": {
"RecommendZone": [
"cn-hongkong-b"
]
}
}
]
},
"Code": 200
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.