Queries the primary and secondary region information of a load balancing instance to obtain geographic region codes, descriptions, and other basic information that are active and can be used to configure a country/region-based scheduling policy for the load balancing instance.
Operation description
When you create a country/region-based scheduling policy for a load balancing instance by calling an OpenAPI operation, use the primary or secondary region code from the lookup table to represent traffic originating from the corresponding geographic region.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number. |
1 |
| PageSize |
integer |
No |
The number of entries per page. |
1024 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
81A5E222-24BF-17EF-9E80-A68D9B8F363D |
| Regions |
array<object> |
The list of region information. |
|
|
array<object> |
The region information. |
||
| RegionCode |
string |
The primary region code. |
SEAS |
| RegionEnName |
string |
The full name of the primary region in English. |
South East Asia |
| RegionCnName |
string |
The full name of the primary region in Chinese. |
South East Asia |
| SubRegions |
array<object> |
The list of secondary region information. |
|
|
object |
The 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 |
The page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
1024 |
| TotalCount |
integer |
The total number of records. |
12 |
| TotalPage |
integer |
The total number of pages. |
1 |
Examples
Success response
JSON format
{
"RequestId": "81A5E222-24BF-17EF-9E80-A68D9B8F363D",
"Regions": [
{
"RegionCode": "SEAS",
"RegionEnName": "South East Asia",
"RegionCnName": "South East Asia",
"SubRegions": [
{
"SubRegionCode": "ID",
"SubRegionEnName": "Indonesia",
"SubRegionCnName": "Indonesia"
}
]
}
],
"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.