Retrieves a list of available regions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dlf:DescribeRegions |
get |
*All Resource
|
None | None |
Request syntax
GET /webapi/service/describeRegions HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the request was successful. |
true |
| RequestId |
string |
The request ID. |
B7F4B621-E41E-4C84-B97F-42B5380A32BB |
| Regions |
array<object> |
The list of regions. |
|
|
object |
The region information. |
{"Type":"region","Description":"华东 1","ShowName":"华东1(杭州)","Name":"cn-hangzhou"} |
|
| Type |
string |
The type. |
region |
| ShowName |
string |
The region display name. |
华东1(杭州) |
| Name |
string |
The region ID. |
cn-hangzhou |
| Description |
string |
The description. |
华东1 |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "B7F4B621-E41E-4C84-B97F-42B5380A32BB",
"Regions": [
{
"Type": "region",
"ShowName": "华东1(杭州)",
"Name": "cn-hangzhou",
"Description": "华东1"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.