All Products
Search
Document Center

Server Load Balancer:DescribeZones

Last Updated:Oct 18, 2026

Queries the zones in a region for Network Load Balancer (NLB).

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ServiceCode

string

No

The service code of the cloud service. Valid value: nlb.

nlb

RegionId

string

No

The region ID of the zone. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou

AcceptLanguage

string

No

The supported language. Valid values:

  • zh-CN: Chinese.

  • en-US: English. This is the default value.

  • ja: Japanese.

zh-CN

ClientToken

string

No

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

You can use the client to generate the value, but you must ensure that it is unique among different requests. The client token can contain only ASCII characters.

Note

If you do not specify this parameter, the system automatically uses the RequestId of the API request as the ClientToken. The RequestId of each API request may be different.

123e4567-e89b-12d3-a456-426655440000

Response elements

Element

Type

Description

Example

object

The structure of the returned data.

RequestId

string

The request ID.

CEF72CEB-54B6-4AE8-B225-F876FF7BA984

Zones

array<object>

The list of zones.

object

The zone information.

LocalName

string

The zone name.

Hangzhou Zone G

ZoneId

string

The zone ID.

cn-hangzhou-g

Examples

Success response

JSON format

{
  "RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984",
  "Zones": [
    {
      "LocalName": "ap_southeast_2",
      "ZoneId": "cn-hangzhou-g"
    }
  ]
}

Error codes

HTTP status code

Error code

Error message

Description

400 IllegalParam.AcceptLanguage The param of AcceptLanguage[%s] is illegal from bundle %s The AcceptLanguage parameter [%s] is invalid.
400 SystemBusy System is busy, please try again later. The system is busy. Try again later.
400 IllegalParam The param of %s is illegal. The input parameters contain invalid values. Check the input.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.