Queries the available regions for creating Container Registry instances.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response content. Set the value to |
zh_CN |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The response code. |
success |
| IsSuccess |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
| RequestId |
string |
The ID of the request. |
11F182E1-0F84-4F5B-8D3B-61E991482727 |
| Regions |
array<object> |
The list of regions. |
|
|
object |
|||
| LocalName |
string |
The name of the region. |
华南1(深圳) |
| RegionId |
string |
The ID of the region. |
cn-shenzhen |
Examples
Success response
JSON format
{
"Code": "success",
"IsSuccess": true,
"RequestId": "11F182E1-0F84-4F5B-8D3B-61E991482727",
"Regions": [
{
"LocalName": "华南1(深圳)",
"RegionId": "cn-shenzhen"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | SystemError | Unknown error. | |
| 403 | NoPrivilege | Access denied for this user. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.