You need to enable JavaScript to run this app.
Auto Scaling

Auto Scaling

Copy page
Download PDF
ScalingPolicy
DisableScalingPolicy - Disables a scaling rule
Copy page
Download PDF
DisableScalingPolicy - Disables a scaling rule
Disable a scaling rule.​
Debugging​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request parameters​
Only the request parameters specific to this operation and some common parameters are listed below. For more information, refer to Common parameters.​
Action string required Sample value: DisableScalingPolicy​
The operation that you want to perform. Valid value: DisableScalingPolic​
​
Version string required Sample value: 2020-01-01​
The version of the API. Value: 2020-01-01.​
​
ScalingPolicyId string required Sample value: sp-ybmvamf8uql8j1fl****​
The ID of the scaling rule. You can call DescribeScalingPolicies to query the ID and current status of the scaling rule.​
​
​
​
Response parameters​
Only the response parameters specific to this operation are listed below. For more information, refer to the response structure.​
ScalingPolicyId string Sample value: sp-ybmvamf8uql8j1fl****​
The ID of the scaling rule.​
​
​
​
Sample request​
​
GET /?Action=DisableScalingPolicy&ScalingPolicyId=sp-ybmvamf8uql8j1fl****&Version=2020-01-01 HTTP/1.1​
Host: auto-scaling.cn-beijing.volcengineapi.com​
X-Date: 20240507T111407Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20240507/cn-beijing/auto_scaling/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "202405071914160081810672001D946E",​
"Version": "2020-01-01",​
"Service": "auto_scaling",​
"Region": "cn-beijing"​
},​
"Result": {​
"ScalingPolicyId": "sp-ybmvamf8uql8j1fl****"​
}​
}​
​
Error codes​
The table below lists the business-related error codes of the operation. For more information, refer to Common error codes.​
​
Status code​
Error code​
Error message​
Description​
400​
MissingParameter.ScalingPolicyId​
The required parameter ScalingPolicyId is not supplied.​
The scaling rule ID cannot be empty.​
404​
InvalidScalingPolicyId.NotFound​
The specified ScalingPolicyId does not exist.​
The specified scaling rule ID does not exist.​
412​
OperationDenied.ResourceLocked​
The specified operation is denied as your resource is locked for another operation.​
The specified operation is rejected because your resource has been locked by another operation.​
500​
InternalError​
An internal error has occurred.​
An internal error occurred. Try again. If multiple attempts fail, submit a ticket.​
​
Last updated: 2026.06.24 17:08:54