All Products
Search
Document Center

Server Load Balancer:DescribeRegions

最終更新日:Dec 18, 2024

Queries available regions.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AcceptLanguagestringNo

The supported language. Valid values:

  • zh-CN (default): Chinese
  • en-US: English
  • ja: Japanese
zh-CN

Response parameters

ParameterTypeDescriptionExample
object
Regionsarray<object>

The regions.

Regionobject
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.

Change history

Change timeSummary of changesOperation
No change history