All Products
Search
Document Center

Server Load Balancer:DescribeRegions

Last Updated:Mar 14, 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.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
AcceptLanguagestringNo

The supported language. Valid values:

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

The ID of the region.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

1651FBB6-4FBF-49FF-A9F5-DF5D696C7EC6
Regionsobject []

The list of regions.

RegionEndpointstring

The endpoint of the region.

slb.aliyuncs.com
LocalNamestring

The name of the region.

China (Beijing)
RegionIdstring

The ID of the region.

cn-beijing

Examples

Sample success responses

JSONformat

{
  "RequestId": "1651FBB6-4FBF-49FF-A9F5-DF5D696C7EC6",
  "Regions": {
    "Region": [
      {
        "RegionEndpoint": "slb.aliyuncs.com",
        "LocalName": "China (Beijing)",
        "RegionId": "cn-beijing"
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParameterInvalidParameter-
400InvalidParameterIllegal parameter, query.namespace is not auth.

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

Change history

Change timeSummary of changesOperation
2023-09-08The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    Error Codes 400 change