Queries the list of available regions.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:DescribeRegions |
get |
*All Resource
|
None | None |
Request syntax
GET /regions HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| clusterType |
string |
No |
The type of the cluster. Valid values:
Valid values:
|
ManagedKubernetes |
| profile |
string |
No |
The subtype of the managed cluster. Valid values:
Valid values:
|
Default |
| acceptLanguage |
string |
No |
The language in which the results are returned. Valid values:
|
zh-CN |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
The unique ID of the request. |
CE0F23E3-C5F5-5FB3-AA9F-134093C49C60 |
| regions |
array<object> |
A list of available regions. |
|
|
object |
The details of a region. |
||
| regionId |
string |
The ID of the region. |
cn-hangzhou |
| localName |
string |
The name of the region. |
华东1(杭州) |
Examples
Success response
JSON format
{
"requestId": "CE0F23E3-C5F5-5FB3-AA9F-134093C49C60",
"regions": [
{
"regionId": "cn-hangzhou",
"localName": "华东1(杭州)"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.