All Products
Search
Document Center

Server Load Balancer:DescribeRegions

Last Updated:Jan 09, 2024

Queries available regions.

Debugging

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

Debug

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AcceptLanguagestringNo

The supported natural language. Valid values:

  • zh-CN: Chinese
  • en-US: English
  • ja: Japanese
zh-CN

Response parameters

ParameterTypeDescriptionExample
object
Regionsobject []

The regions.

LocalNamestring

The name of the region.

China (Hangzhou)
RegionEndpointstring

The endpoint of region service.

alb.cn-hangzhou.aliyuncs.com
RegionIdstring

The ID of the region.

cn-hangzhou
RequestIdstring

The ID of the request.

593B0448-D13E-4C56-AC0D-FDF0FDE0E9A3

Examples

Sample success responses

JSONformat

{
  "Regions": [
    {
      "LocalName": "China (Hangzhou)",
      "RegionEndpoint": "alb.cn-hangzhou.aliyuncs.com",
      "RegionId": "cn-hangzhou"
    }
  ],
  "RequestId": "593B0448-D13E-4C56-AC0D-FDF0FDE0E9A3"
}

Error codes

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