All Products
Search
Document Center

Internet Shared Bandwidth:DescribeCommonBandwidthPackages

Last Updated:Oct 16, 2026

Queries a list of Internet Shared Bandwidth instances and their details in a specified region.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

vpc:DescribeCommonBandwidthPackages

get

*CommonBandwidthPackage

acs:vpc:{#regionId}:{#accountId}:combandwidthpackage/*

None None

Request parameters

Parameter

Type

Required

Description

Example

IncludeReservationData

boolean

No

Specifies whether to include subscription data that has not taken effect. Valid values:

  • false (default): Does not include subscription data that has not taken effect.

  • true: Includes subscription data that has not taken effect.

false

RegionId

string

Yes

The region ID of the Internet Shared Bandwidth instance. You can call the DescribeRegions operation to query the region ID.

cn-hangzhou

BandwidthPackageId

string

No

The ID of the Internet Shared Bandwidth instance.

cbwp-2ze2ic1xd2qeqk145****

ResourceGroupId

string

No

The ID of the resource group.

rg-acfmxazb4ph****

Name

string

No

The name of the Internet Shared Bandwidth instance. The name must be 0 to 128 characters in length, and cannot start with http:// or https://.

test123

PageNumber

integer

No

The page number. Default value: 1.

1

PageSize

integer

No

The number of entries per page. Maximum value: 50. Default value: 10.

10

DryRun

boolean

No

Specifies whether to only precheck the request. Valid values:

  • true: prechecks the request without querying the instance information. The system checks whether required parameters are specified, the request format, and the instance status. If the request fails the precheck, the corresponding error is returned. If the request passes the precheck, the DryRunOperation error code is returned.

  • false (default): sends the request. If the request passes the precheck, the HTTP 2xx status code is returned and the operation is performed.

false

Tag

array<object>

No

The tags of the Internet Shared Bandwidth instance.

object

No

The tags of the Internet Shared Bandwidth instance.

Key

string

No

The tag key of the resource. You can specify up to 20 tag keys. If you specify this parameter, you cannot specify an empty string.

A tag key can be up to 128 characters in length. It cannot start with aliyun or acs:, and cannot contain http:// or https://.

KeyTest

Value

string

No

The tag value of the resource. You can specify up to 20 tag values. If you specify this parameter, you can specify an empty string.

A tag value can be up to 128 characters in length. It cannot start with aliyun or acs:, and cannot contain http:// or https://.

ValueTest

SecurityProtectionEnabled

boolean

No

Specifies whether to enable Anti-DDoS (Enhanced). Valid values:

  • false: does not enable Anti-DDoS (Enhanced).

  • true: enables Anti-DDoS (Enhanced).

[Deprecated]

false

Response elements

Element

Type

Description

Example

object

The response parameters.

PageSize

integer

The number of entries per page.

10

RequestId

string

The request ID.

20E6FD1C-7321-4DAD-BDFD-EC8769E4AA33

PageNumber

integer

The page number.

1

TotalCount

integer

The total number of entries.

1

CommonBandwidthPackages

object

CommonBandwidthPackage

array<object>

The details of the Internet Shared Bandwidth instances.

array<object>

The details of the Internet Shared Bandwidth instances.

ReservationActiveTime

string

The renewal effective period. The time follows the YYYY-MM-DDThh:mm:ssZ format.

2018-08-30T16:00:00Z

Status

string

The status of the Internet Shared Bandwidth instance. Valid values:

  • Available: The instance is available.

  • Modifying: The instance is being modified.

Available

CreationTime

string

The time when the Internet Shared Bandwidth instance was created. The time follows the YYYY-MM-DDThh:mm:ssZ format.

2017-06-28T06:39:20Z

ReservationOrderType

string

The renewal and specification change method. Valid values:

  • RENEWCHANGE: renewal with specification change.

  • TEMP_UPGRADE: temporary upgrade.

  • UPGRADE: upgrade.

RENEWCHANGE

DeletionProtection

boolean

Indicates whether deletion protection is enabled. Valid values:

  • true: Deletion protection is enabled.

  • false: Deletion protection is disabled.

true

ReservationInternetChargeType

string

The billing method after the specification change.

**PayByTraffic**: Pay-by-data-transfer.

PayByBandwidth

Ratio

integer

The guaranteed percentage of the Internet Shared Bandwidth instance. Only 20 is returned.

This parameter is supported only on the China site.

20

InstanceChargeType

string

The billing method of the Internet Shared Bandwidth instance.

**PostPaid**: Pay-as-you-go.

PostPaid

RegionId

string

The region ID of the Internet Shared Bandwidth instance.

cn-hangzhou

BandwidthPackageId

string

The ID of the Internet Shared Bandwidth instance.

cbwp-bp1t3sm1ffzmshdki****

ServiceManaged

integer

Indicates whether the resource is created by a service account. Valid values:

  • 0: The resource is not created by a service account.

  • 1: The resource is created by a service account.

1

Bandwidth

string

The peak bandwidth of the Internet Shared Bandwidth instance. Unit: Mbit/s.

20

Description

string

The description of the Internet Shared Bandwidth instance.

none

ExpiredTime

string

The expiration time of the Internet Shared Bandwidth instance. The time follows the YYYY-MM-DDThh:mm:ssZ format.

2019-01-15T03:08:37Z

ReservationBandwidth

string

The bandwidth value after the specification change. Unit: Mbit/s.

1000

ResourceGroupId

string

The ID of the resource group.

rg-acfmxazb4ph****

InternetChargeType

string

The billing method of the Internet Shared Bandwidth instance.

  • PayByBandwidth: Pay-by-bandwidth.

  • PayByDominantTraffic: Pay-by-dominant-data-transfer. PayByTraffic: Pay-by-data-transfer.

PayByBandwidth

BusinessStatus

string

The business status of the Internet Shared Bandwidth instance. Valid values:

  • Normal: The instance is in a normal state.

  • FinancialLocked: The instance is locked due to an overdue payment.

  • Unactivated: The instance is not activated.

Normal

Name

string

The name of the Internet Shared Bandwidth instance.

abc

ISP

string

The line type. Valid values:

  • BGP: BGP (multi-ISP) line. BGP (multi-ISP) lines are supported in all regions.

  • BGP_PRO: BGP (multi-ISP) Pro line. BGP (multi-ISP) Pro lines are supported only in the Hong Kong (China), Singapore, Japan (Tokyo), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), and Thailand (Bangkok) regions for Internet Shared Bandwidth.

If you are a whitelisted user of single-ISP bandwidth, the following values may also be returned:

  • ChinaTelecom: China Telecom

  • ChinaUnicom: China Unicom

  • ChinaMobile: China Mobile

  • ChinaTelecom_L2: China Telecom L2

  • ChinaUnicom_L2: China Unicom L2

  • ChinaMobile_L2: China Mobile L2

If you are an Alibaba Finance Cloud user in the Hangzhou region, BGP_FinanceCloud is returned.

BGP

HasReservationData

string

Indicates whether there are pending orders. Valid values:

  • false: There are no pending orders.

  • true: There are pending orders.

false

PublicIpAddresses

object

PublicIpAddresse

array<object>

The public IP addresses in the Internet Shared Bandwidth instance.

object

The public IP addresses in the Internet Shared Bandwidth instance.

IpAddress

string

The public IP address.

47.95.XX.XX

AllocationId

string

The instance ID of the public IP address.

eip-bp13e9i2qst4g6jzi****

BandwidthPackageIpRelationStatus

string

The association status between the Internet Shared Bandwidth instance and the EIP. Valid values:

  • BINDED: The EIP is associated with the Internet Shared Bandwidth instance.

  • BINDING: The EIP is being associated with the Internet Shared Bandwidth instance.

BINDED

SecurityProtectionTypes

object

SecurityProtectionType

array

The security protection level. Valid values:

  • If this parameter is empty, the default Anti-DDoS Basic is used.

  • AntiDDoS_Enhanced: Anti-DDoS (Enhanced) is used.

[Deprecated]

string

The security protection level. Valid values:

  • If this parameter is empty, the default Anti-DDoS Basic is used.

  • AntiDDoS_Enhanced: Anti-DDoS (Enhanced) is used.

[Deprecated]

AntiDDoS_Enhanced

Tags

object

Tag

array<object>

The tags of the Internet Shared Bandwidth instance.

object

The tags of the Internet Shared Bandwidth instance.

Key

string

The tag key of the Internet Shared Bandwidth instance.

KeyTest

Value

string

The tag value of the Internet Shared Bandwidth instance.

ValueTest

BizType

string

The business type of the Internet Shared Bandwidth instance. Valid values:

  • CloudBox: CloudBox. This type is supported only for CloudBox users.

  • Default (default): The default type, which indicates no special type.

CloudBox

Zone

string

The zone of the Internet Shared Bandwidth instance.

When resources in the zone are overloaded, the Internet Shared Bandwidth instance may be scheduled to another zone to ensure service stability.

ap-southeast-1-lzdvn-cb

Examples

Success response

JSON format

{
  "PageSize": 10,
  "RequestId": "20E6FD1C-7321-4DAD-BDFD-EC8769E4AA33",
  "PageNumber": 1,
  "TotalCount": 1,
  "CommonBandwidthPackages": {
    "CommonBandwidthPackage": [
      {
        "ReservationActiveTime": "2018-08-30T16:00:00Z",
        "Status": "Available",
        "CreationTime": "2017-06-28T06:39:20Z",
        "ReservationOrderType": "RENEWCHANGE",
        "DeletionProtection": true,
        "ReservationInternetChargeType": "PayByBandwidth",
        "Ratio": 20,
        "InstanceChargeType": "PostPaid",
        "RegionId": "cn-hangzhou",
        "BandwidthPackageId": "cbwp-bp1t3sm1ffzmshdki****",
        "ServiceManaged": 1,
        "Bandwidth": "20",
        "Description": "none",
        "ExpiredTime": "2019-01-15T03:08:37Z",
        "ReservationBandwidth": "1000",
        "ResourceGroupId": "rg-acfmxazb4ph****",
        "InternetChargeType": "PayByBandwidth",
        "BusinessStatus": "Normal",
        "Name": "abc",
        "ISP": "BGP",
        "HasReservationData": "false",
        "PublicIpAddresses": {
          "PublicIpAddresse": [
            {
              "IpAddress": "47.95.XX.XX",
              "AllocationId": "eip-bp13e9i2qst4g6jzi****",
              "BandwidthPackageIpRelationStatus": "BINDED"
            }
          ]
        },
        "SecurityProtectionTypes": {
          "SecurityProtectionType": [
            "AntiDDoS_Enhanced"
          ]
        },
        "Tags": {
          "Tag": [
            {
              "Key": "KeyTest",
              "Value": "ValueTest"
            }
          ]
        },
        "BizType": "CloudBox",
        "Zone": "ap-southeast-1-lzdvn-cb"
      }
    ]
  }
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidBandwidthPackageIdNumber.NotSupported The number of BandwidthPackageIds exceeds the limit. The number of BandwidthPackageIds exceeds the limit.
400 InvalidResourceGroupId The specified ResourceGroupId does not exist. The specified resource group ID does not exist.
400 OperationUnsupported.ResourceGroupId ResourceGroup is not supported in this region. The resource group feature is not enabled.
404 InvalidRegionId.NotFound The specified RegionId does not exist in our records.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.