All Products
Search
Document Center

Elastic Desktop Service:DescribeNetworkPackages

Last Updated:Nov 14, 2025

Queries the details of one or more premium bandwidth plans.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • For mandatory resource types, indicate with a prefix of * .
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
ecd:DescribeNetworkPackagesget
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
MaxResultsintegerNo

The number of entries to return on each page.

  • Maximum value: 100
  • Default value: 10
10
NextTokenstringNo

The token that determines the start point of the next query.

caeba0bbb2be03f84eb48b699f0a4883
NetworkPackageIdarrayNo

The ID of the premium bandwidth plan. You can specify 1 to 100 IDs.

stringNo

The ID of the premium bandwidth plan.

np-amtp8e8q1o9e4****
InternetChargeTypestringNo

The charge type of the pay-as-you-go premium bandwidth plan.

Valid values:

  • PayByTraffic: charges by data transfer.

  • PayByBandwidth: charges by fixed bandwidth.

PayByBandwidth

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

NextTokenstring

The token that is used to start the next query. If the value of this parameter is empty, all results are returned.

caeba0bbb2be03f84eb48b699f0a4883
RequestIdstring

The ID of the request.

473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
NetworkPackagesarray<object>

The premium bandwidth plans.

NetworkPackageobject

Details of the Internet access package.

NetworkPackageIdstring

The ID of the premium bandwidth plan.

np-amtp8e8q1o9e4****
Bandwidthinteger

The bandwidth provided by the premium bandwidth plan. Unit: Mbit/s.

10
ExpiredTimestring

The time when the premium bandwidth plan expires.

  • If the plan is a subscription one, the time when the plan expires is returned.
  • If the plan is a pay-as-you-go one, 2099-12-31T15:59:59Z is returned.
2099-12-31T15:59:59Z
CreateTimestring

The time when the premium bandwidth plan was created.

2021-05-10T02:35:26Z
OfficeSiteIdstring

The office network ID.

cn-hangzhou+dir-363353****
PayTypestring

The billing method of the premium bandwidth plan.

Valid values:

  • PostPaid: pay-as-you-go
  • PrePaid: subscription
PostPaid
InternetChargeTypestring

The charge type of the premium bandwidth plan.

  • Valid value when the PayType parameter is set to PrePaid:

    • PayByBandwidth: charges by fixed bandwidth.
  • Valid values when the PayType parameter is set to PostPaid:

    • PayByTraffic: charges by data transfer.
    • PayByBandwidth: charges by fixed bandwidth.
PayByTraffic
ReservationInternetChargeTypestring

The billing method of the reserved network bandwidth.

Valid values:

  • PayByTraffic: charges by data transfer.

  • PayByBandwidth: charges by fixed bandwidth.

PayByBandwidth
ReservationBandwidthinteger

The peak bandwidth that is reserved for the premium bandwidth plan. Unit: Mbit/s.

20
ReservationActiveTimestring

The time when the reserved network bandwidth took effect.

2021-07-10T00:00:00Z
NetworkPackageStatusstring

The status of the premium bandwidth plan.

Valid values:

  • Creating

  • Released

  • InUse

  • Releasing

InUse
OfficeSiteNamestring

The office network name.

test
OfficeSiteVpcTypestring

The type of the office network.

Valid values:

  • standard: advanced office network
  • customized: custom office network
  • basic: basic office network
basic
EipAddressesarray

The public egress IP address of the premium bandwidth plan.

EipAddressstring

The public egress IP address of the premium bandwidth plan.

120.2.XX.XX
BusinessStatusstring

The business status.

Valid values:

  • Expired

  • Normal

Normal

Examples

Sample success responses

JSONformat

{
  "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": "test",
      "OfficeSiteVpcType": "basic",
      "EipAddresses": [
        "120.2.XX.XX"
      ],
      "BusinessStatus": "Normal"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-10-26The response structure of the API has changedView Change Details
2021-08-19The request parameters of the API has changedView Change Details