Queries regions in which you can create instances.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language used for response parameters. Set this parameter to | zh-CN |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "success",
"IsSuccess": true,
"RequestId": "11F182E1-0F84-4F5B-8D3B-61E991482727",
"Regions": [
{
"LocalName": "China (Shenzhen)\n",
"RegionId": "cn-shenzhen"
}
]
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
403 | NoPrivilege | Access denied for this user. |
500 | SystemError | Unknown error. |
For a list of error codes, visit the Service error codes.