DescribeRegions

Updated at: 2025-03-21 03:53

Queries regions that support Network Load Balancer (NLB) instances.

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
ParameterTypeRequiredDescriptionExample
ServiceCodestringNo

The service code. Set the value to nlb.

nlb
AcceptLanguagestringNo

The supported natural language. Valid values:

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

The client token used to ensure the idempotence of the request.

You can use the client to generate this value. Ensure that the value is unique among all requests. Only ASCII characters are allowed.

Note
If you do not specify this parameter, the value of RequestId is used.**** RequestId of each request is different.
123e4567-e89b-12d3-a456-426655440000

Response parameters

ParameterTypeDescriptionExample
ParameterTypeDescriptionExample
object

RpcResponse

RequestIdstring

The ID of the request.

CEF72CEB-54B6-4AE8-B225-F876FF7BA984
Regionsarray<object>

A list of regions.

Regionobject

The list of regions.

LocalNamestring

The name of the region.

us-east-1
RegionEndpointstring

The endpoint of the region service.

nlb.cn-hangzhou.aliyuncs.com
RegionIdstring

The ID of the region.

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984",
  "Regions": [
    {
      "LocalName": "us-east-1",
      "RegionEndpoint": "nlb.cn-hangzhou.aliyuncs.com",
      "RegionId": "cn-hangzhou"
    }
  ]
}

Error codes

HTTP status codeError codeError message
HTTP status codeError codeError message
400SystemBusySystem is busy, please try again later.
400IllegalParamThe param of %s is illegal.

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

Change history

Change timeSummary of changesOperation
Change timeSummary of changesOperation
2024-01-22The Error code has changedView Change Details
2023-09-26The Error code has changedView Change Details
  • On this page (1)
  • Debugging
  • Authorization information
  • Request parameters
  • Response parameters
  • Examples
  • Error codes
  • Change history
Feedback