Queries the remaining bandwidth of a specified bandwidth package.
Debug
Use OpenAPI Explorer to perform debug operations and generate SDK code examples.
Request parameters
Parameter | Type | Required? | Example value | Description |
---|---|---|---|---|
CenId | String | Yes | cen-nh98vzx8gfhlwn**** |
The ID of the CEN instance to which the bandwidth package belongs. |
GeographicRegionAId | String | Yes | China |
The first area to which the bandwidth package is used to connect. Valid values: China|North-America|Asia-Pacific|Europe|Australia. |
GeographicRegionBId | String | Yes | North-America |
The second area to which the bandwidth package is used to connect. Valid values: China|North-America|Asia-Pacific|Europe|Australia. |
Action | String | No | DescribeCenGeographicSpanRemainingBandwidth |
The name of this action. Value: DescribeCenGeographicSpanRemainingBandwidth. |
PageNumber | Integer | No | 1 |
The page number. Default value: 1. |
PageSize | Integer | No | 10 |
The number of entries per page for a paged query. Maximum value: 50. Default value: 10. |
Response parameters
Parameter | Type | Example value | Description |
---|---|---|---|
RemainingBandwidth | Long | 2 |
The remaining bandwidth of the bandwidth package. |
RequestId | String | E4B345CD-2CBA-4881-AF6D-E5D9BAE1CA7B |
The ID of the request. |
Examples
Request example
http(s)://[Endpoint]/? Action=DescribeCenGeographicSpanRemainingBandwidth
&CenId=cen-nh98vzx8gfhlwn****
&GeographicRegionAId=China
&GeographicRegionBId=North-America
&<CommonParameters>
Response example
XML
format
<DescribeCenGeographicSpanRemainingBandwidthResponse>
<RequestId>E4B345CD-2CBA-4881-AF6D-E5D9BAE1CA7B</RequestId>
<RemainingBandwidth>2</RemainingBandwidth>
</DescribeCenGeographicSpanRemainingBandwidthResponse>
JSON
format
{
"RequestId":"E4B345CD-2CBA-4881-AF6D-E5D9BAE1CA7B",
"RemainingBandwidth":"2"
}
Errors
For a list of error codes, visit the API Error Center.