Queries the remaining bandwidth of a specified bandwidth plan.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DescribeCenGeographicSpanRemainingBandwidth |
get |
*CenInstance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
The page number. The default value is 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. The default value is 10. Valid values: 1 to 50. |
10 |
| CenId |
string |
Yes |
The ID of the Cloud Enterprise Network (CEN) instance to which the bandwidth plan is attached. |
cen-nh98vzx8gfhlwn**** |
| GeographicRegionAId |
string |
Yes |
The ID of a connected area of the bandwidth plan. Valid values:
|
China |
| GeographicRegionBId |
string |
Yes |
The ID of the other connected area of the bandwidth plan. Valid values:
|
North-America |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RemainingBandwidth |
integer |
The remaining bandwidth of the bandwidth plan. Unit: Mbps. |
2 |
| RequestId |
string |
The request ID. |
E4B345CD-2CBA-4881-AF6D-E5D9BAE1CA7B |
Examples
Success response
JSON format
{
"RemainingBandwidth": 2,
"RequestId": "E4B345CD-2CBA-4881-AF6D-E5D9BAE1CA7B"
}
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.