Queries the regions supported by Elastic Block Storage (EBS) features, including asynchronous replication, EBS Lens, and dedicated block storage clusters.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ebs:DescribeRegions |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceType |
string |
No |
The resource type. Valid values:
If you do not specify a resource type, region information for all resource types is returned. |
ear |
| AcceptLanguage |
string |
No |
The language type for region and zone names. This parameter determines the value of
Default value: zh-CN. |
zh-CN |
| RegionId |
string |
No |
The region ID of the user access endpoint. |
cn-beijing |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
17EE62D8-064E-5404-8B0D-72122478**** |
| Regions |
array<object> |
The collection of region and zone information. |
|
|
array<object> |
|||
| LocalName |
string |
The region name. |
China (Hangzhou) |
| RegionEndpoint |
string |
The endpoint of the region. |
ebs.cn-hangzhou.aliyuncs.com |
| RegionId |
string |
The region ID. |
cn-hangzhou |
| Zones |
array<object> |
The collection of zone information. |
|
|
object |
|||
| LocalName |
string |
The zone name. |
Hangzhou Zone H |
| ZoneId |
string |
The zone ID. |
cn-hangzhou-h |
| ResourceTypes |
array |
The list of resource types. |
|
|
string |
The resource type. Valid values:
|
ear |
Examples
Success response
JSON format
{
"RequestId": "17EE62D8-064E-5404-8B0D-72122478****",
"Regions": [
{
"LocalName": "China (Hangzhou)",
"RegionEndpoint": "ebs.cn-hangzhou.aliyuncs.com",
"RegionId": "cn-hangzhou",
"Zones": [
{
"LocalName": "Hangzhou Zone H",
"ZoneId": "cn-hangzhou-h",
"ResourceTypes": [
"ear"
]
}
]
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error, exception or failure. | An internal error has occurred. |
| 403 | Forbidden | User is not authorized to operate. | You are not authorized to manage the resource. Check the account permissions or contact the Alibaba Cloud account. |
| 403 | Forbidden.Action | User is not authorized to operate this action. | You are not authorized to perform this operation. Check the account permissions or contact the Alibaba Cloud account. |
| 404 | NoSuchResource | The specified resource does not exist. | The specified resource does not exist. |
| 504 | RequestTimeout | The request is timeout, please try again later. | The request has timed out. Try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.