Query Load Balancer Region List
Operation description
When creating a load balancer 'based on country/region scheduling' strategy through OpenAPI, use the code of primary or secondary regions to represent traffic from this geographical area.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:ListLoadBalancerRegions |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
Page number. |
1 |
| PageSize |
integer |
No |
Page size. |
1024 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Request ID |
81A5E222-24BF-17EF-9E80-A68D9B8F363D |
| Regions |
array<object> |
List of region information |
|
|
array<object> |
Region information |
||
| RegionCode |
string |
Primary region code |
SEAS |
| RegionEnName |
string |
Primary region English full name |
South East Asia |
| RegionCnName |
string |
Primary region Chinese full name |
Southeast Asia |
| SubRegions |
array<object> |
List of secondary region information |
|
|
object |
Secondary region information |
||
| SubRegionCode |
string |
Secondary region code |
ID |
| SubRegionEnName |
string |
Secondary region English full name |
Indonesia |
| SubRegionCnName |
string |
Secondary region Chinese full name |
Indonesia |
| PageNumber |
integer |
Page number |
1 |
| PageSize |
integer |
Number of records per page |
1024 |
| TotalCount |
integer |
Total number of records |
12 |
| TotalPage |
integer |
Total number of pages |
1 |
Examples
Success response
JSON format
{
"RequestId": "81A5E222-24BF-17EF-9E80-A68D9B8F363D",
"Regions": [
{
"RegionCode": "SEAS",
"RegionEnName": "South East Asia",
"RegionCnName": "东南亚",
"SubRegions": [
{
"SubRegionCode": "ID",
"SubRegionEnName": "Indonesia",
"SubRegionCnName": "印度尼西亚"
}
]
}
],
"PageNumber": 1,
"PageSize": 1024,
"TotalCount": 12,
"TotalPage": 1
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | QueryDBError | An internal exception occurred when query data, please try again later. | An internal exception occurred when query data, please try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.