Queries available regions.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AcceptLanguage |
string |
No |
The supported language. Valid values:
|
zh-CN |
| RegionId |
string |
No |
The ID of the region. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
1651FBB6-4FBF-49FF-A9F5-DF5D696C7EC6 |
| Regions |
object |
||
| Region |
array<object> |
The list of regions. |
|
|
object |
|||
| RegionEndpoint |
string |
The endpoint of the region. |
slb.aliyuncs.com |
| LocalName |
string |
The name of the region. |
China (Beijing) |
| RegionId |
string |
The ID of the region. |
cn-beijing |
Examples
Success response
JSON format
{
"RequestId": "1651FBB6-4FBF-49FF-A9F5-DF5D696C7EC6",
"Regions": {
"Region": [
{
"RegionEndpoint": "slb.aliyuncs.com",
"LocalName": "China (Beijing)",
"RegionId": "cn-beijing"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | InvalidParameter | |
| 400 | LocationServiceTimeout | Location service connection timeout. Please try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.