DescribeCenBandwidthPackages

Updated at:

Queries the details of bandwidth plan instances.

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

cen:DescribeCenBandwidthPackages

get

*CenBandwidthPackage

acs:cen:*:{#accountId}:cenbandwidthpackage/*

None None

Request parameters

Parameter

Type

Required

Description

Example

IncludeReservationData

boolean

No

Specifies whether to include renewal data. Valid values:

  • true: Includes renewal data.

  • false: Does not include renewal data.

true

PageNumber

integer

No

The page number of the list. Default value: 1.

1

PageSize

integer

No

The number of entries per page for a paged query. Maximum value: 50. Default value: 10.

2

IsOrKey

boolean

No

The logical relationship between filter conditions. Valid values:

  • false (default): The filter conditions have an AND relationship. A match occurs only when all filter conditions are met.

  • true: The filter conditions have an OR relationship. A match occurs when any of the filter conditions is met.

false

ResourceGroupId

string

No

The ID of the resource group.

rg-acfnwjeo4tv****

Filter

array<object>

No

The filter conditions.

object

No

The filter conditions.

Key

string

No

The filter condition. You can use filter conditions to filter the bandwidth plan instances to be viewed. The system supports the following filter conditions:

  • CenId: The ID of the Cloud Enterprise Network (CEN) instance.

  • Status: The status of the bandwidth plan instance. Valid values:

    • Idle: Unbound.

    • InUse: Bound.

  • CenBandwidthPackageId: The ID of the bandwidth plan.

  • Name: The name of the bandwidth plan. You can specify one or more filter conditions. The maximum value of N is 5.

CenId

Value

array

No

The filter value specified based on Key. You can specify multiple filter values for a single Key. The filter values have an OR relationship. A match occurs when any of the filter values is met.

Idle

string

No

The filter value specified based on Key. You can specify multiple filter values for a single Key. The filter values have an OR relationship. A match occurs when any of the filter values is met.

cen-xxjsjfkffkfkfjkf****

Tag

array<object>

No

The list of tag information.

You can specify up to 20 tags at a time.

object

No

The tag information.

You can specify up to 20 tags at a time.

Key

string

No

The tag key of the resource.

This parameter cannot be an empty string once specified. It can be up to 64 characters in length, and cannot start with aliyun or acs:, or contain http:// or https://.

You can specify up to 20 tag keys at a time.

TagKey

Value

string

No

The tag value of the resource.

The tag value can be empty or a string of up to 128 characters. It cannot start with aliyun or acs:, or contain http:// or https://.

Each tag key corresponds to a tag value. You can specify up to 20 tag values at a time.

TagValue

Response elements

Element

Type

Description

Example

object

PageSize

integer

The number of entries per page.

2

RequestId

string

The request ID.

9D7E2400-2755-4AF5-9B73-12565E4F73A0

PageNumber

integer

The current page number.

1

TotalCount

integer

The total number of entries.

2

CenBandwidthPackages

object

CenBandwidthPackage

array<object>

The details of the bandwidth plan.

array<object>

ReservationActiveTime

string

The expiration time of the temporary upgrade, in ISO 8601 format: YYYY-MM-DDThh:mmZ.

2021-08-30T16:00Z

Status

string

Indicates whether the bandwidth plan is bound to a CEN instance. Valid values:

  • Idle: Unbound.

  • InUse: Bound.

InUse

CreationTime

string

The creation time of the bandwidth plan, in ISO 8601 format: YYYY-MM-DDThh:mmZ.

2021-02-01T11:14Z

ReservationOrderType

string

The renewal and upgrade/downgrade method. Valid values:

  • TEMP_UPGRADE: Temporary upgrade.

  • UPGRADE: Upgrade.

UPGRADE

BandwidthPackageChargeType

string

The billing method of the bandwidth plan.

PREPAY

CenBandwidthPackageId

string

The ID of the bandwidth plan.

cenbwp-4c2zaavbvh5x****

ReservationInternetChargeType

string

The billing method after the upgrade/downgrade.

PREPAY

GeographicRegionAId

string

The ID of the area to query. Valid values:

  • china: The Chinese mainland.

  • asia-pacific: Asia-Pacific.

  • europe: Europe.

  • north-america: North America.

china

Bandwidth

integer

The peak bandwidth of the bandwidth plan.

2

Description

string

The description of the bandwidth plan.

cen

ExpiredTime

string

The expiration time of the bandwidth plan, in ISO 8601 format: YYYY-MM-DDThh:mmZ.

2021-09-08T16:00Z

ReservationBandwidth

string

The bandwidth restored after the temporary upgrade ends.

10

GeographicSpanId

string

The ID of the connected areas.

north-america_china

GeographicRegionBId

string

The ID of the other connected areas of the bandwidth plan instance. Valid values:

  • china: The Chinese mainland.

  • asia-pacific: Asia-Pacific.

  • europe: Europe.

  • north-america: North America.

north-america

ResourceGroupId

string

The ID of the resource group.

rg-aekzoyr5k36****

IsCrossBorder

boolean

Indicates whether the bandwidth plan is a cross-border bandwidth plan. Valid values:

  • false: The bandwidth plan is not a cross-border bandwidth plan.

  • true: The bandwidth plan is a cross-border bandwidth plan.

false

BusinessStatus

string

The status of the bandwidth plan. Valid values:

  • Normal: Normal.

  • FinancialLocked: Locked due to overdue payments.

  • SecurityLocked: Locked due to security risks.

Normal

Name

string

The name of the bandwidth plan.

test

HasReservationData

string

Indicates whether renewal data exists. Valid values:

  • true: Renewal data exists.

  • false: No renewal data exists.

Note

This parameter is returned as true only when the IncludeReservationData request parameter is set to true and inactive subscription data exists.

false

OrginInterRegionBandwidthLimits

object

OrginInterRegionBandwidthLimit

array<object>

The details of the inter-region connections.

object

BandwidthLimit

string

The peak bandwidth between the connected regions.

1

OppositeRegionId

string

The ID of the peer region.

us-west-1

GeographicSpanId

string

The connected areas.

north-america_china

LocalRegionId

string

The ID of the local region.

cn-hangzhou

Tags

object

Tag

array<object>

The tag information of the bandwidth plan.

object

The list of tags.

Key

string

The tag key.

TagKey

Value

string

The tag value.

TagValue

CenIds

object

CenId

array

The list of CEN instances associated with the bandwidth plan.

string

The CEN instance ID associated with the bandwidth plan.

cen-xxjsjfkffkfkfjkf****

Examples

Success response

JSON format

{
  "PageSize": 2,
  "RequestId": "9D7E2400-2755-4AF5-9B73-12565E4F73A0",
  "PageNumber": 1,
  "TotalCount": 2,
  "CenBandwidthPackages": {
    "CenBandwidthPackage": [
      {
        "ReservationActiveTime": "2021-08-30T16:00Z",
        "Status": "InUse",
        "CreationTime": "2021-02-01T11:14Z",
        "ReservationOrderType": "UPGRADE",
        "BandwidthPackageChargeType": "PREPAY",
        "CenBandwidthPackageId": "cenbwp-4c2zaavbvh5x****",
        "ReservationInternetChargeType": "PREPAY",
        "GeographicRegionAId": "china",
        "Bandwidth": 2,
        "Description": "cen",
        "ExpiredTime": "2021-09-08T16:00Z",
        "ReservationBandwidth": "10",
        "GeographicSpanId": "north-america_china",
        "GeographicRegionBId": "north-america",
        "ResourceGroupId": "rg-aekzoyr5k36****",
        "IsCrossBorder": false,
        "BusinessStatus": "Normal",
        "Name": "test",
        "HasReservationData": "false",
        "OrginInterRegionBandwidthLimits": {
          "OrginInterRegionBandwidthLimit": [
            {
              "BandwidthLimit": "1",
              "OppositeRegionId": "us-west-1",
              "GeographicSpanId": "north-america_china",
              "LocalRegionId": "cn-hangzhou"
            }
          ]
        },
        "Tags": {
          "Tag": [
            {
              "Key": "TagKey",
              "Value": "TagValue"
            }
          ]
        },
        "CenIds": {
          "CenId": [
            "cen-xxjsjfkffkfkfjkf****"
          ]
        }
      }
    ]
  }
}

Error codes

HTTP status code

Error code

Error message

Description

400 IllegalParam.TagValue The tag values are not valid. The error message returned because the specified tag value is invalid.
400 IllegalParam.TagKey The tag keys are not valid. The error message returned because the specified tag key is invalid.
400 InvalidParameter Invalid parameter. The error message returned because the parameter is set to an invalid value.
400 Unauthorized The AccessKeyId is unauthorized. The error message returned because you do not have the permissions to perform this operation.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.