edit-icon download-icon

AssociateCenBandwidthPackage

Last Updated: Mar 28, 2018

Description

Bind a bandwidth package to a specified CEN instance.

Request parameters

Name Type Required Description
Action String Yes

The action to perform. Valid value:

AssociateCenBandwidthPackage

CenId String Yes The ID of the CEN instance.
CenBandwidthPackageId String Yes The ID of the bandwidth package.

Response parameters

Name Type Description
RequestId String The ID of the request.

Error codes

The following table lists the error codes specific to this API. For more information about common error codes, see Common error codes.

Error code Error message HTTP status code Description
InvalidOperation.BwpForGeoSpanAlreadyAssociated Operation is invalid because a CEN bandwidth package of the same geographic span is already associated. 409The bandwidth package has been bound to a CEN instance.

Examples

Request example

  1. http://cbn.aliyuncs.com/?Action=AssociateCenBandwidthPackage
  2. &CenId=cen-04sgjpvkc062ahzd26
  3. &CenBandwidthPackageId=Cenbwp-stb2axpqzzko2ja
  4. &<Common parameters>

Response example

XML format

  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <AssociateCenBandwidthPackageResponse>
  3. <RequestId>5903EE99-D542-4E14-BC65-AAC1CB2D3D03</RequestId>
  4. </AssociateCenBandwidthPackageResponse>

JSON format

  1. {
  2. "RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
  3. }
Thank you! We've received your feedback.