You can call the DescribeCenGeographicSpans operation to query the connected areas supported by Cloud Enterprise Network (CEN).
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. Default value: 10. Valid values: 1 to 50. |
10 |
| GeographicSpanId |
string |
No |
The ID of the geographic span. Note
If you do not specify this parameter, the system queries all geographic spans that are supported by Cloud Enterprise Network (CEN). |
china_asia-pacific |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| PageSize |
integer |
The number of entries returned on each page. |
10 |
| RequestId |
string |
The request ID. |
09780287-BC24-4164-8334-773432E32696 |
| PageNumber |
integer |
The page number. |
1 |
| TotalCount |
integer |
The total number of entries. |
1 |
| GeographicSpanModels |
object |
||
| GeographicSpanModel |
array<object> |
A list of geographic spans. |
|
|
object |
|||
| LocalGeoRegionId |
string |
The ID of the local area. |
asia-pacific |
| GeographicSpanId |
string |
The ID of the geographic span. |
china_asia-pacific |
| OppositeGeoRegionId |
string |
The ID of the peer area. |
china |
Examples
Success response
JSON format
{
"PageSize": 10,
"RequestId": "09780287-BC24-4164-8334-773432E32696",
"PageNumber": 1,
"TotalCount": 1,
"GeographicSpanModels": {
"GeographicSpanModel": [
{
"LocalGeoRegionId": "asia-pacific",
"GeographicSpanId": "china_asia-pacific",
"OppositeGeoRegionId": "china"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.