Disassociates an EIP bandwidth plan from an Application Load Balancer (ALB) instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DetachCommonBandwidthPackageFromLoadBalancer |
The operation that you want to perform. Set the value to DetachCommonBandwidthPackageFromLoadBalancer. |
ClientToken | String | No | 123e4567-e89b-12d3-a456-426655440000 |
The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. Note If you do not set this parameter, the system automatically uses RequestId as ClientToken. RequestId may be different for each API request.
|
RegionId | String | Yes | cn-hangzhou |
The ID of the region where the ALB instance is created. You can call the DescribeRegions operation to query the most recent region list. |
LoadBalancerId | String | Yes | alb-d676fho813rmu3**** |
The ID of the ALB instance. |
BandwidthPackageId | String | Yes | cbwp-bp1pzf0ym72pu3y76**** |
The ID of the EIP bandwidth plan. |
DryRun | Boolean | No | true |
Specifies whether to only precheck the request. Valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 2EF39708-974B-5E74-AFF5-3445263035A8 |
The ID of the request. |
JobId | String | 72dcd26b-f12d-4c27-b3af-18f6aed5**** |
The ID of the asynchronous task. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DetachCommonBandwidthPackageFromLoadBalancer
&ClientToken=123e4567-e89b-12d3-a456-426655440000
&RegionId=cn-hangzhou
&LoadBalancerId=alb-d676fho813rmu3****
&BandwidthPackageId=cbwp-bp1pzf0ym72pu3y76****
&DryRun=true
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DetachCommonBandwidthPackageFromLoadBalancerResponse>
<RequestId>2EF39708-974B-5E74-AFF5-3445263035A8</RequestId>
<JobId>72dcd26b-f12d-4c27-b3af-18f6aed5****</JobId>
</DetachCommonBandwidthPackageFromLoadBalancerResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "2EF39708-974B-5E74-AFF5-3445263035A8",
"JobId" : "72dcd26b-f12d-4c27-b3af-18f6aed5****"
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | IncorrectBusinessStatus.CommonBandwidthPackage | The business status of %s [%s] is incorrect. | The error message returned because the service status of the specified resource %s [%s] is invalid. |
400 | IncorrectStatus.CommonBandwidthPackage | The status of %s [%s] is incorrect. | The error message returned because the status of the specified resource %s [%s] is invalid. |
404 | ResourceNotFound.LoadBalancer | The specified resource %s is not found. | The error message returned because the specified resource %s does not exist. |
404 | ResourceNotFound.CommonBandwidthPackage | The specified resource %s is not found. | The error message returned because the specified resource %s does not exist. |
For a list of error codes, visit the API Error Center.