Queries the zones of a region in which a Network Load Balancer (NLB) instance is deployed.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ServiceCode | string | No | The service code. Set the value to nlb. | nlb |
RegionId | string | No | The ID of the region to which the zone belongs. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
AcceptLanguage | string | No | The supported natural language. Valid values:
| 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 all requests. ClientToken can contain only ASCII characters. Note
If you do not set this parameter, the system uses RequestId as ClientToken. RequestId may be different for each API request.
| 123e4567-e89b-12d3-a456-426655440000 |
Response parameters
Examples
Sample success responses
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 |
---|---|---|
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. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-10-09 | The Error code has changed | View Change Details |
2023-09-26 | The Error code has changed | View Change Details |
2023-09-05 | The Error code has changed | View Change Details |
2023-08-22 | The Error code has changed | View Change Details |