Queries the 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 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Regions |
array<object> |
The regions. |
|
|
object |
|||
| LocalName |
string |
The name of the region. |
China (Hangzhou) |
| RegionEndpoint |
string |
The region service endpoint. |
alb.cn-hangzhou.aliyuncs.com |
| RegionId |
string |
The ID of the region. |
cn-hangzhou |
| RequestId |
string |
The ID of the request. |
593B0448-D13E-4C56-AC0D-FDF0FDE0E9A3 |
Examples
Success response
JSON format
{
"Regions": [
{
"LocalName": "China (Hangzhou)",
"RegionEndpoint": "alb.cn-hangzhou.aliyuncs.com",
"RegionId": "cn-hangzhou"
}
],
"RequestId": "593B0448-D13E-4C56-AC0D-FDF0FDE0E9A3"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.