DescribeBandwidthPackages
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:DescribeBandwidthPackages |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
|
|
| BandwidthPackageId |
string |
No |
|
|
| NatGatewayId |
string |
No |
|
|
| PageNumber |
integer |
No |
|
|
| PageSize |
integer |
No |
|
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|
||
| PageSize |
integer |
|
|
| RequestId |
string |
|
|
| PageNumber |
integer |
|
|
| TotalCount |
integer |
|
|
| BandwidthPackages |
object |
|
|
| BandwidthPackage |
array<object> |
|
|
|
array<object> |
|||
| Status |
string |
Available, Pending, Modifying, Deleting, and Deleted. |
|
| CreationTime |
string |
YYYY-MM-DDThh:mm:ssZ. |
|
| IpCount |
string |
|
|
| RegionId |
string |
|
|
| InstanceChargeType |
string |
PostPaid and PrePaid. |
|
| BandwidthPackageId |
string |
|
|
| Description |
string |
|
|
| Bandwidth |
string |
|
|
| NatGatewayId |
string |
|
|
| ZoneId |
string |
|
|
| InternetChargeType |
string |
PayByTraffic and PayByBandwidth. |
|
| BusinessStatus |
string |
Normal and FinancialLocked. |
|
| Name |
string |
|
|
| ISP |
string |
BGP and BGP_PRO. |
|
| PublicIpAddresses |
object |
|
|
| PublicIpAddresse |
array<object> |
|
|
|
object |
|||
| IpAddress |
string |
|
|
| AllocationId |
string |
|
Examples
Success response
JSON format
{
"PageSize": 0,
"RequestId": "",
"PageNumber": 0,
"TotalCount": 0,
"BandwidthPackages": {
"BandwidthPackage": [
{
"Status": "",
"CreationTime": "",
"IpCount": "",
"RegionId": "",
"InstanceChargeType": "",
"BandwidthPackageId": "",
"Description": "",
"Bandwidth": "",
"NatGatewayId": "",
"ZoneId": "",
"InternetChargeType": "",
"BusinessStatus": "",
"Name": "",
"ISP": "",
"PublicIpAddresses": {
"PublicIpAddresse": [
{
"IpAddress": "",
"AllocationId": ""
}
]
}
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidAliuid | User Id is not valid. | |
| 404 | InvalidRegionId.NotFound | The specified RegionId does not exist in our records. | The specified RegionId parameter does not exist. Check whether the service is available in the specified region. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.