Queries available regions by calling the DescribeRegions operation.
Try it now
Test
RAM authorization
Request parameters
Parameter | Type | Required | Description | Example |
ProductType | string | No | The product type. Default value: VPC. | VPC |
AcceptLanguage | string | No | The language of the response. Valid values:
| zh-CN |
Response elements
Element | Type | Description | Example |
object | The request ID. | ||
RequestId | string | The request ID. | 611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F |
| Regions | object | ||
| Region | array<object> | The list of available regions. | |
object | The list of available regions. | ||
RegionEndpoint | string | The endpoint of the region service. | vpc.aliyuncs.com |
LocalName | string | The name of the region. | UK |
RegionId | string | The region ID. | cn-qingdao |
Examples
Success response
JSON format
{
"RequestId": "611CB80C-B6A9-43DB-9E38-0B0AC3D9B58F",
"Regions": {
"Region": [
{
"RegionEndpoint": "vpc.aliyuncs.com",
"LocalName": "华北 1",
"RegionId": "cn-qingdao"
}
]
}
}Error codes
HTTP status code | Error code | Error message | Description |
403 | Forbbiden | User not authorized to operate on the specified resource. | User not authorized to operate on the specified resource. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.