Queries the zones in a region where Network Load Balancer (NLB) is available.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceCode |
string |
No |
The service code. Set the value to nlb. |
nlb |
| RegionId |
string |
No |
The region ID. Call the DescribeRegions operation to query available regions. |
cn-hangzhou |
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh-CN |
| ClientToken |
string |
No |
The client token that ensures request idempotence. Generate the token on the client side. The value must be unique across requests and contain only ASCII characters. Note
If you do not specify this parameter, the system uses the RequestId value. The RequestId of each request is unique. |
123e4567-e89b-12d3-a456-426655440000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
| Zones |
array<object> |
A list of zones. |
|
|
object |
The zone. |
||
| LocalName |
string |
The zone name. |
ap_southeast_2 |
| 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 | |
| 400 | SystemBusy | System is busy, please try again later. | |
| 400 | IllegalParam | The param of %s is illegal. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.