Queries the details of a bandwidth plan by calling the DescribeBandwidthPackage operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ga:DescribeBandwidthPackage |
get |
*BandwidthPackage
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID of the Alibaba Cloud Global Accelerator (GA) instance. Set the value to cn-hangzhou. |
cn-hangzhou |
| BandwidthPackageId |
string |
Yes |
The ID of the bandwidth plan to query. |
gbwp-bp1sgzldyj6b4q7cx**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| CbnGeographicRegionIdB |
string |
The interconnected area B of the cross-border acceleration bandwidth plan. The value is returned only as Global. This parameter is returned only on the Chinese site (Chinese mainland). |
Global |
| CbnGeographicRegionIdA |
string |
The interconnected area A of the cross-border acceleration bandwidth plan. The value is returned only as China-mainland (the Chinese mainland). This parameter is returned only on the Alibaba Cloud International Website (www.alibabacloud.com). |
China-mainland |
| Description |
string |
The description of the bandwidth plan. |
testDescription |
| RequestId |
string |
The request ID. |
4B6DBBB0-2D01-4C6A-A384-4129266E6B78 |
| CreateTime |
string |
The timestamp when the bandwidth plan was created. |
1578966918000 |
| Name |
string |
The name of the bandwidth plan. |
testName |
| BandwidthType |
string |
The bandwidth type. Valid values:
|
Basic |
| Type |
string |
The type of the bandwidth plan. Valid values:
Only Basic is returned on the Alibaba Cloud China Website (www.aliyun.com). |
Basic |
| Accelerators |
array |
The instance ID of the Alibaba Cloud Global Accelerator (GA) instance attached to the bandwidth plan. |
|
|
string |
The instance ID of the Alibaba Cloud Global Accelerator (GA) instance attached to the bandwidth plan. |
ga-bp1qe94o52ot4pkfn**** |
|
| State |
string |
The status of the bandwidth plan. Valid values:
|
active |
| ChargeType |
string |
The billing method. Valid values:
|
PREPAY |
| Bandwidth |
integer |
The bandwidth value of the bandwidth plan. Unit: Mbit/s. |
2 |
| ExpiredTime |
string |
The timestamp when the bandwidth plan expires. |
1578966918000 |
| BandwidthPackageId |
string |
The bandwidth plan ID. |
gbwp-bp1sgzldyj6b4q7cx**** |
| RegionId |
string |
The region ID of the Alibaba Cloud Global Accelerator (GA) instance. Set the value to cn-hangzhou. |
cn-hangzhou |
| BillingType |
string |
The billable methods for the pay-as-you-go billing method. Valid values:
|
PayByTraffic |
| Ratio |
integer |
The minimum percentage for the pay-by-95th-percentile metering method. Valid values: 30 to 100. |
30 |
| ResourceGroupId |
string |
The resource group ID. |
rg-acfnvueepcihjiq |
| Tags |
array<object> |
The resource tags. |
|
|
object |
|||
| Key |
string |
The tag key. |
tag-key |
| Value |
string |
The tag value. |
tag-value |
Examples
Success response
JSON format
{
"CbnGeographicRegionIdB": "Global",
"CbnGeographicRegionIdA": "China-mainland",
"Description": "testDescription",
"RequestId": "4B6DBBB0-2D01-4C6A-A384-4129266E6B78",
"CreateTime": "1578966918000",
"Name": "testName",
"BandwidthType": "Basic",
"Type": "Basic",
"Accelerators": [
"ga-bp1qe94o52ot4pkfn****"
],
"State": "active",
"ChargeType": "PREPAY",
"Bandwidth": 2,
"ExpiredTime": "1578966918000",
"BandwidthPackageId": "gbwp-bp1sgzldyj6b4q7cx****",
"RegionId": "cn-hangzhou",
"BillingType": "PayByTraffic",
"Ratio": 30,
"ResourceGroupId": "rg-acfnvueepcihjiq",
"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.