All Products
Search
Document Center

Container Registry:ListInstanceRegion

Last Updated:Mar 01, 2024

Queries regions in which you can create instances.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

The language used for response parameters. Set this parameter to zh-CN.

zh-CN

Response parameters

ParameterTypeDescriptionExample
object
Codestring

The return value.

success
IsSuccessboolean

Indicates whether the request is successful. Valid values:

  • true: The request is successful.
  • false: The request fails.
true
RequestIdstring

The ID of the request.

11F182E1-0F84-4F5B-8D3B-61E991482727
Regionsobject []

The list of regions.

LocalNamestring

The name of the region.

China (Shenzhen)
RegionIdstring

The ID of the region.

cn-shenzhen

Examples

Sample success responses

JSONformat

{
  "Code": "success",
  "IsSuccess": true,
  "RequestId": "11F182E1-0F84-4F5B-8D3B-61E991482727",
  "Regions": [
    {
      "LocalName": "China (Shenzhen)\n",
      "RegionId": "cn-shenzhen"
    }
  ]
}

Error codes

HTTP status codeError codeError message
403NoPrivilegeAccess denied for this user.
500SystemErrorUnknown error.

For a list of error codes, visit the Service error codes.