Queries regions that support NLB instances.
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 |
| AcceptLanguage |
string |
No |
The supported natural language. Valid values:
|
en-US |
| ClientToken |
string |
No |
The client token that ensures idempotency. You can use the client to generate the token value, which must be unique across requests and contain only ASCII characters. Note
If you do not specify this parameter, the system uses RequestId as the token. Each RequestId is unique. |
123e4567-e89b-12d3-a456-426655440000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
RpcResponse |
||
| RequestId |
string |
The request ID. |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
| Regions |
array<object> |
The regions. |
|
|
object |
The list of regions. |
||
| LocalName |
string |
The region name. |
us-east-1 |
| RegionEndpoint |
string |
The endpoint of the region service. |
nlb.cn-hangzhou.aliyuncs.com |
| RegionId |
string |
The region ID. |
cn-hangzhou |
Examples
Success response
JSON format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984",
"Regions": [
{
"LocalName": "us-east-1",
"RegionEndpoint": "nlb.cn-hangzhou.aliyuncs.com",
"RegionId": "cn-hangzhou"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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.