Queries the information about the area combinations supported by Cloud Enterprise Network (CEN).

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String No DescribeCenGeographicSpans

The operation that you want to perform. Set the value to DescribeCenGeographicSpans.

PageNumber Integer No 1

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

PageSize Integer No 10

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

GeographicSpanId String No china_asia-pacific

The ID of the area combination.

Note If you do not set this parameter, the system queries the information about all area combinations supported by CEN.

Response parameters

Parameter Type Example Description
GeographicSpanModels Array of GeographicSpanModel

The information about area combinations.

GeographicSpanModel
GeographicSpanId String china_asia-pacific

The ID of the area combination.

LocalGeoRegionId String asia-pacific

The ID of the local area.

OppositeGeoRegionId String china

The ID of the peer area.

PageNumber Integer 1

The page number of the returned page.

PageSize Integer 10

The number of entries returned per page.

RequestId String 09780287-BC24-4164-8334-773432E32696

The ID of the request.

TotalCount Integer 1

The total number of entries returned.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeCenGeographicSpans
&<Common request parameters>

Sample success responses

XML format

<DescribeCenGeographicSpansResponse>
      <PageNumber>1</PageNumber>
      <TotalCount>1</TotalCount>
      <PageSize>10</PageSize>
      <RequestId>09780287-BC24-4164-8334-773432E32696</RequestId>
      <GeographicSpanModels>
            <GeographicSpanModel>
                  <OppositeGeoRegionId>china</OppositeGeoRegionId>
                  <LocalGeoRegionId>asia-pacific</LocalGeoRegionId>
                  <GeographicSpanId>china_asia-pacific</GeographicSpanId>
            </GeographicSpanModel>
      </GeographicSpanModels>
</DescribeCenGeographicSpansResponse>

JSON format

{
"PageNumber": 1,
    "TotalCount": 1,
    "PageSize": 10,
    "RequestId": "09780287-BC24-4164-8334-773432E32696",
    "GeographicSpanModels": {
        "GeographicSpanModel": [
            {
                "OppositeGeoRegionId": "china",
                "LocalGeoRegionId": "asia-pacific",
                "GeographicSpanId": "china_asia-pacific"
            }
        ]
    }
}

Error codes

For a list of error codes, visit the API Error Center.