All Products
Search
Document Center

Service Catalog:ListRegions

Last Updated:Mar 03, 2024

Queries regions.

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
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

0FEEF92D-4052-5202-87D0-3D8EC16F81BF
Regionsobject []

The details of regions.

RegionIdstring

The ID of the region.

cn-hangzhou
RegionEndpointstring

The endpoint of the region.

servicecatalog.cn-hangzhou.aliyuncs.com
LocalNamestring

The name of the region.

China (Hangzhou)

Examples

Sample success responses

JSONformat

{
  "RequestId": "0FEEF92D-4052-5202-87D0-3D8EC16F81BF",
  "Regions": [
    {
      "RegionId": "cn-hangzhou",
      "RegionEndpoint": "servicecatalog.cn-hangzhou.aliyuncs.com",
      "LocalName": "China (Hangzhou)\n"
    }
  ]
}

Error codes

HTTP status codeError codeError message
500InternalErrorA system error occurred.

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