DescribeNetworkPackages
Queries the details of one or more premium bandwidth plans.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:DescribeNetworkPackages |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
| MaxResults |
integer |
No |
The number of entries to return on each page.
|
10 |
| NextToken |
string |
No |
The token that determines the start point of the next query. |
caeba0bbb2be03f84eb48b699f0a4883 |
| NetworkPackageId |
array |
No |
The ID of the premium bandwidth plan. You can specify 1 to 100 IDs. |
np-amtp8e8q1o9e4**** |
|
string |
No |
The ID of the premium bandwidth plan. |
np-amtp8e8q1o9e4**** |
|
| InternetChargeType |
string |
No |
The charge type of the pay-as-you-go premium bandwidth plan. Valid values:
Valid values:
|
PayByBandwidth |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| NextToken |
string |
The token that is used to start the next query. If the value of this parameter is empty, all results are returned. |
caeba0bbb2be03f84eb48b699f0a4883 |
| RequestId |
string |
The ID of the request. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| NetworkPackages |
array<object> |
The premium bandwidth plans. |
|
|
object |
Details of the Internet access package. |
||
| NetworkPackageId |
string |
The ID of the premium bandwidth plan. |
np-amtp8e8q1o9e4**** |
| Bandwidth |
integer |
The bandwidth provided by the premium bandwidth plan. Unit: Mbit/s. |
10 |
| ExpiredTime |
string |
The time when the premium bandwidth plan expires.
|
2099-12-31T15:59:59Z |
| CreateTime |
string |
The time when the premium bandwidth plan was created. |
2021-05-10T02:35:26Z |
| OfficeSiteId |
string |
The office network ID. |
cn-hangzhou+dir-363353**** |
| PayType |
string |
The billing method of the premium bandwidth plan. Valid values:
Valid values:
|
PostPaid |
| InternetChargeType |
string |
The charge type of the premium bandwidth plan.
Valid values:
|
PayByTraffic |
| ReservationInternetChargeType |
string |
The billing method of the reserved network bandwidth. Valid values:
Valid values:
|
PayByBandwidth |
| ReservationBandwidth |
integer |
The peak bandwidth that is reserved for the premium bandwidth plan. Unit: Mbit/s. |
20 |
| ReservationActiveTime |
string |
The time when the reserved network bandwidth took effect. |
2021-07-10T00:00:00Z |
| NetworkPackageStatus |
string |
The status of the premium bandwidth plan. Valid values:
Valid values:
|
InUse |
| OfficeSiteName |
string |
The office network name. |
default |
| OfficeSiteVpcType |
string |
The type of the office network. Valid values:
Valid values:
|
basic |
| EipAddresses |
array |
The public egress IP address of the premium bandwidth plan. |
|
|
string |
The public egress IP address of the premium bandwidth plan. |
120.2.XX.XX |
|
| BusinessStatus |
string |
The business status. Valid values:
Valid values:
|
Normal |
Examples
Success response
JSON format
{
"NextToken": "caeba0bbb2be03f84eb48b699f0a4883",
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"NetworkPackages": [
{
"NetworkPackageId": "np-amtp8e8q1o9e4****",
"Bandwidth": 10,
"ExpiredTime": "2099-12-31T15:59:59Z",
"CreateTime": "2021-05-10T02:35:26Z",
"OfficeSiteId": "cn-hangzhou+dir-363353****",
"PayType": "PostPaid",
"InternetChargeType": "PayByTraffic",
"ReservationInternetChargeType": "PayByBandwidth",
"ReservationBandwidth": 20,
"ReservationActiveTime": "2021-07-10T00:00:00Z",
"NetworkPackageStatus": "InUse",
"OfficeSiteName": "default",
"OfficeSiteVpcType": "basic",
"EipAddresses": [
"120.2.XX.XX"
],
"BusinessStatus": "Normal"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.