Queries a list of bandwidth plans.
Operation description
This operation is deprecated. Use ListBandwidthPackages instead.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:ListBandwidthackages |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the Global Accelerator instance. Set the value to cn-hangzhou. |
cn-hangzhou |
| PageNumber |
integer |
No |
The page number of the list. The default value is 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. Maximum value: 100. Default value: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| TotalCount |
integer |
The total number of entries returned. |
1 |
| PageSize |
integer |
The number of entries on each page. |
10 |
| RequestId |
string |
The request ID. |
4B6DBBB0-2D01-4C6A-A384-4129266E6B78 |
| PageNumber |
integer |
The current page number. |
1 |
| BandwidthPackages |
array<object> |
The details of the bandwidth plans. |
|
|
array<object> |
The details of the bandwidth plans. |
||
| BandwidthPackageId |
string |
The ID of the bandwidth plan. |
gbwp-bp1sgzldyj6b4q7cx**** |
| Bandwidth |
integer |
The bandwidth of the bandwidth plan. Unit: Mbps. |
2 |
| Description |
string |
The description of the bandwidth plan. |
testDescription |
| ExpiredTime |
string |
The timestamp that indicates when the bandwidth plan expires. |
1578966918000 |
| State |
string |
The status of the bandwidth plan.
|
active |
| CreateTime |
string |
The timestamp that indicates when the bandwidth plan was created. |
1578966918000 |
| ChargeType |
string |
The billing method.
|
PREPAY |
| Accelerators |
array |
The IDs of the Global Accelerator instances that are associated with the bandwidth plan. |
|
|
string |
The ID of the Global Accelerator instance that is associated with the bandwidth plan. |
ga-bp1qe94o52ot4pkfn**** |
|
| Name |
string |
The name of the bandwidth plan. |
Accelerator |
| RegionId |
string |
The ID of the region. |
DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6 |
| ResourceGroupId |
string |
The ID of the resource group. |
rg-aekzzwgr7vz2liy |
| Tags |
array<object> |
The tags of the resource. |
|
|
object |
|||
| Key |
string |
The tag key. |
tag-key |
| Value |
string |
The tag value. |
tag-value |
Examples
Success response
JSON format
{
"TotalCount": 1,
"PageSize": 10,
"RequestId": "4B6DBBB0-2D01-4C6A-A384-4129266E6B78",
"PageNumber": 1,
"BandwidthPackages": [
{
"BandwidthPackageId": "gbwp-bp1sgzldyj6b4q7cx****",
"Bandwidth": 2,
"Description": "testDescription",
"ExpiredTime": "1578966918000",
"State": "active",
"CreateTime": "1578966918000",
"ChargeType": "PREPAY",
"Accelerators": [
"ga-bp1qe94o52ot4pkfn****"
],
"Name": "Accelerator",
"RegionId": "DE77A7F3-3B74-41C0-A5BC-CAFD188C28B6",
"ResourceGroupId": "rg-aekzzwgr7vz2liy",
"Tags": [
{
"Key": "tag-key",
"Value": "tag-value"
}
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.