Retrieves a list of available regions.
Try it now
Test
RAM authorization
Request syntax
GET /region/DescribeRegions HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
A parameter to ensure idempotence. Note
This parameter ensures that each request is processed only once. Generate a unique value on the client for each request. The value can be up to 64 ASCII characters long and must not contain non-ASCII characters. |
ETnLKlblzczshOTUbOCzxxxxxxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The ID of the request. |
39871ED2-62C0-578F-A32E-B88072D5582F |
| Regions |
array<object> |
A list of regions. |
|
|
object |
A region object. |
||
| RegionId |
string |
The region ID. |
cn-hangzhou |
| I18nKey |
string |
The region key. |
yunjiankong.cloud.region.cn-hangzhou |
Examples
Success response
JSON format
{
"RequestId": "39871ED2-62C0-578F-A32E-B88072D5582F",
"Regions": [
{
"RegionId": "cn-hangzhou",
"I18nKey": "yunjiankong.cloud.region.cn-hangzhou"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.