All Products
Search
Document Center

Internet Shared Bandwidth:DescribeCommonBandwidthPackages

Last Updated:Aug 28, 2026

Queries Internet Shared Bandwidth instances 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

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

IncludeReservationData

boolean

No

Whether to return information about pending orders. Valid values:

  • false (default)

  • true

false

RegionId

string

Yes

The ID of the region where the Internet Shared Bandwidth instance resides.

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

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.

test123

PageNumber

integer

No

The page number. Default value: 1.

1

PageSize

integer

No

The number of entries per page. Valid values: 1 to 50. Default value: 10.

10

DryRun

boolean

No

Whether to perform a dry run without performing the actual request. Valid values:

  • true: performs a dry run only. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and instance status. If the request fails the dry run, an error message is returned. If the request passes the dry run, the DryRunOperation error code is returned.

  • false (default): performs a dry run and sends the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.

false

Tag

array<object>

No

The tags to add to the Internet Shared Bandwidth instance.

object

No

Key

string

No

The tag key to add to the Internet Shared Bandwidth instance. You can specify up to 20 tag keys. The tag key cannot be an empty string.

The 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 to add to the Internet Shared Bandwidth instance. You can specify up to 20 tag values. The tag value can be an empty string.

The 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

Whether to enable Anti-DDoS Pro/Premium. Valid values:

  • false (default)

  • true

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 returned.

1

CommonBandwidthPackages

object

CommonBandwidthPackage

array<object>

The details of the Internet Shared Bandwidth instance.

array<object>

ReservationActiveTime

string

The time when the renewal took effect, in 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 Internet Shared Bandwidth instance is available.

  • Modifying: The Internet Shared Bandwidth instance is being modified.

Available

CreationTime

string

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

2017-06-28T06:39:20Z

ReservationOrderType

string

The renewal method. Valid values:

  • RENEWCHANGE: renewal with a specification change

  • TEMP_UPGRADE: renewal with a temporary upgrade

  • UPGRADE: renewal with an upgrade

RENEWCHANGE

DeletionProtection

boolean

Whether deletion protection is enabled. Valid values:

  • true

  • false

true

ReservationInternetChargeType

string

The metering method after the configurations are changed. Valid value:

PayByTraffic

PayByBandwidth

Ratio

integer

The percentage of the minimum bandwidth commitment. Only 20 is returned.

Note

This parameter is supported only on the Alibaba Cloud China site.

20

InstanceChargeType

string

The billing method of the Internet Shared Bandwidth instance. Valid value:

PostPaid: pay-as-you-go

PostPaid

RegionId

string

The ID of the region where the Internet Shared Bandwidth instance resides.

cn-hangzhou

BandwidthPackageId

string

The ID of the Internet Shared Bandwidth instance.

cbwp-bp1t3sm1ffzmshdki****

ServiceManaged

integer

Whether the resource is created by the service account. Valid values:

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

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

1

Bandwidth

string

The maximum 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 time when the Internet Shared Bandwidth instance expired, in YYYY-MM-DDThh:mm:ssZ format.

2019-01-15T03:08:37Z

ReservationBandwidth

string

The new maximum bandwidth after the configurations are changed. Unit: Mbit/s.

1000

ResourceGroupId

string

The ID of the resource group.

rg-acfmxazb4ph****

InternetChargeType

string

The metering method of the Internet Shared Bandwidth instance. Valid value:

PayByTraffic

PayByBandwidth

BusinessStatus

string

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

  • Normal: The instance runs as expected.

  • FinancialLocked: The instance has 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. Supported in all regions.

  • BGP_PRO: BGP (Multi-ISP) Pro line. Supported in the China (Hong Kong), Singapore (Singapore), Japan (Tokyo), Philippines (Manila), Malaysia (Kuala Lumpur), Indonesia (Jakarta), and Thailand (Bangkok) regions.

If you are allowed to use single-ISP bandwidth, one of the following values is returned:

  • ChinaTelecom

  • ChinaUnicom

  • ChinaMobile

  • ChinaTelecom_L2

  • ChinaUnicom_L2

  • ChinaMobile_L2

If your services are deployed in China East 1 Finance, BGP_FinanceCloud is returned.

BGP

HasReservationData

string

Whether information about pending orders is returned. Valid values:

  • false

  • true

false

PublicIpAddresses

object

PublicIpAddresse

array<object>

The elastic IP addresses (EIPs) that are associated with the Internet Shared Bandwidth instance.

object

IpAddress

string

The public IP address.

47.95.XX.XX

AllocationId

string

The ID of the EIP.

eip-bp13e9i2qst4g6jzi****

BandwidthPackageIpRelationStatus

string

Whether the EIP is associated with the Internet Shared Bandwidth instance. Valid values:

  • BINDED

  • BINDING

BINDED

SecurityProtectionTypes

object

SecurityProtectionType

array

The editions of Anti-DDoS.

  • If this parameter is empty, Anti-DDoS Origin Basic is enabled.

  • If AntiDDoS_Enhanced is returned, Anti-DDoS Pro/Premium is enabled.

string

The edition of Anti-DDoS.

  • If this parameter is empty, Anti-DDoS Origin Basic is enabled.

  • If AntiDDoS_Enhanced is returned, Anti-DDoS Pro/Premium is enabled.

AntiDDoS_Enhanced

Tags

object

Tag

array<object>

The tag that is added to the Internet Shared Bandwidth instance.

object

Key

string

The tag key.

KeyTest

Value

string

The tag value.

ValueTest

BizType

string

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

  • CloudBox: Cloud box. Only cloud box users can select this type.

  • Default (default): General service type.

CloudBox

Zone

string

The zone of the Internet Shared Bandwidth instance. This parameter is returned only when BizType is set to CloudBox. If BizType is set to Default, an empty value is returned.

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.
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.