Deletes a scaling rule.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteScalingRule |
The operation that you want to perform. Set the value to DeleteScalingRule. |
ScalingRuleId | String | Yes | asr-bp163l21e07uhnyt**** |
The ID of the scaling rule that you want to delete. |
RegionId | String | No | cn-qingdao |
The ID of the region where the scaling group resides. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
The ID of the request. |
Examples
Sample requests
http(s)://ess.aliyuncs.com/?Action=DeleteScalingRule
&ScalingRuleId=asr-bp163l21e07uhnyt****
&RegionId=cn-qingdao
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteScalingRuleResponse>
<RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E</RequestId>
</DeleteScalingRuleResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Error codes
For a list of error codes, visit the API Error Center.
HTTP status code |
Error code |
Error message |
Description |
---|---|---|---|
404 |
InvalidScalingRuleId.NotFound |
The specified scaling rule does not exist. |
The error message returned because the specified scaling rule does not exist in the current account. |