All Products
Search
Document Center

Cloud Enterprise Network:DescribeCenGeographicSpans

Last Updated:Jul 19, 2024

Queries the areas that a Cloud Enterprise Network (CEN) instance can connect.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
PageNumberintegerNo

The number of the page to return. Default value: 1.

1
PageSizeintegerNo

The number of entries per page. Default value: 10. Valid values: 1 to 50.

10
GeographicSpanIdstringNo

The ID of the areas that are connected by the CEN instance.

Note If you do not set this parameter, the system queries the information about all areas supported by CEN.
china_asia-pacific

Response parameters

ParameterTypeDescriptionExample
object
PageSizeinteger

The number of entries returned per page.

10
RequestIdstring

The ID of the request.

09780287-BC24-4164-8334-773432E32696
PageNumberinteger

The page number of the returned page.

1
TotalCountinteger

The total number of entries returned.

1
GeographicSpanModelsarray<object>

A list of areas.

object
LocalGeoRegionIdstring

The ID of the local area.

asia-pacific
GeographicSpanIdstring

The ID of the pair of connected areas.

china_asia-pacific
OppositeGeoRegionIdstring

The ID of the peer area.

china

Examples

Sample success responses

JSONformat

{
  "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 codeError codeError messageDescription
400InvalidParameterInvalid parameter.The error message returned because the parameter is set to an invalid value.
400UnauthorizedThe AccessKeyId is unauthorized.The error message returned because you do not have the permissions to perform this operation.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-02-20API Description UpdateView Change Details