Associates a bandwidth plan with a Cloud Enterprise Network (CEN) instance.

Limits

You can associate multiple bandwidth plans with a CEN instance, but the combination of areas connected by each bandwidth plan must be unique.

For example, if the CEN instance is associated with a bandwidth plan that connects the Chinese mainland to the Chinese mainland, you cannot associate the CEN instance with another bandwidth plan that connects the Chinese mainland to the Chinese mainland. However, you can associate the CEN instance with a bandwidth plan that connects the Chinese mainland to North America.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String No AssociateCenBandwidthPackage

The operation that you want to perform. Set the value to AssociateCenBandwidthPackage.

CenBandwidthPackageId String Yes cenbwp-4c2zaavbvh5fx****

The ID of the bandwidth plan.

CenId String Yes cen-7qthudw0ll6jmc****

The ID of the CEN instance.

Response parameters

Parameter Type Example Description
RequestId String 0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=AssociateCenBandwidthPackage
&CenBandwidthPackageId=cenbwp-4c2zaavbvh5fx****
&CenId=cen-7qthudw0ll6jmc****
&<Common request parameters>

Sample success responses

XML format

<AssociateCenBandwidthPackageResponse>
  <RequestId>0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50</RequestId>
</AssociateCenBandwidthPackageResponse>

JSON format

{
  "RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}

Error codes

For a list of error codes, visit the API Error Center.