Disassociates a Smart Access Gateway (SAG) instance from a bandwidth plan for application acceleration.
Operation description
When you call DissociateSmartAGFromApplicationBandwidthPackage, you can set the SmartAGId parameter to specify an SAG instance, or set the SmartAGIdList to specify multiple SAG instances.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DryRun | boolean | No | Specifies whether to precheck the request. Check items include permissions and the status of the specified cloud resources. Valid values:
| false |
ClientToken | string | No | 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. Note
If you do not set this parameter, ClientToken is set to the value of RequestId. The value of RequestId for each API request may be different.
| 02fb3da4-130e-11e9-8e44-001**** |
RegionId | string | Yes | The region ID of the bandwidth plan for application acceleration. You can call the DescribeRegions operation to query the most recent region list. | cn-shanghai |
ApplicationBandwidthPackageId | string | Yes | The ID of the bandwidth plan for application acceleration. | abwp-7963l7iqnquyj3**** |
SmartAGId | string | No | The ID of the SAG instance. | sag-w11hk4bqxpakem**** |
SmartAGIdList | array | No | The list of the SAG instance id. | |
string | No | The ID of the SAG instance. You can specify at most 100 SAG instance IDs in each call. | sag-5oq6e314i26piy**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "4EC47282-1B74-4534-BD0E-403F3EE64CAF"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | ResourceNotFound.ApplicationBandwidthPackage | The specified resource of ApplicationBandwidthPackage is not found. | - |
400 | ResourceNotAssociated.SmartAccessGateway | The specified smart access gateway is not associated. | The specified SAG instance is not associated. |
404 | ResourceNotFound.SmartAccessGateway | The specified resource of SmartAccessGateway is not found. | - |
For a list of error codes, visit the Service error codes.