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

Auto Scaling

Copy page
Download PDF
ScalingGroup
SuspendProcesses - Suspends scaling group processes
Copy page
Download PDF
SuspendProcesses - Suspends scaling group processes
Pause specified processes in a scaling group. About Pausing/Resuming scaling group processes.​
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: SuspendProcesses​
The action that you want to perform. Value: SuspendProcesses.​
​
Version string required Sample value: 2020-01-01​
The version of the API. Value: 2020-01-01.​
​
ScalingGroupId string required Sample value: scg-ybmssdnnhn5pkgyd****​
The ID of the scaling group. You can call DescribeScalingGroups to query the scaling group ID.​
​
Processes.N string[] required Sample value: ScaleIn​
Specifies the type of process to be paused.​
  • Parameter - N: Indicates the serial number of the process type. Value range: 1 ~ 5.​
  • Separate multiple event notification types with &. Valid values:​
  • ScaleIn: Scale-in process.​
  • ScaleOut: Scale-out process.​
  • HealthCheck: Health check.​
  • AlarmNotification: Alert task.​
  • ScheduledAction: Scheduled task.​
​
ClientToken string Optional Sample value: 333456899ff****​
ClientToken is used to ensure the idempotency of the request. The client can automatically generate a token, but you need to ensure that it is unique across requests. This prevents duplicate operations caused by multiple retries when the API request times out or an internal server error occurs. Values:​
Not more than 64 ASCII characters.​
​
​
​
Response parameters​
This operation has no specific response parameters. For more information, refer to Response structure.​
Sample request​
​
GET /?Action=SuspendProcesses&Processes.1=ScaleIn&ScalingGroupId=scg-ybmssdnnhn5pkgyd%2A%2A%2A%2A&Version=2020-01-01 HTTP/1.1​
Host: auto-scaling.cn-beijing.volcengineapi.com​
X-Date: 20240507T093118Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20240507/cn-beijing/auto_scaling/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
​
​
Sample response​
​
{​
"ResponseMetadata": {​
"RequestId": "2024050717292117409705701383451B",​
"Version": "2020-01-01",​
"Service": "auto_scaling",​
"Region": "cn-beijing"​
},​
"Result": {}​
}​
​
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​
InvalidScalingGroup.InvalidStatus​
The specified ScalingGroup is not in the correct status.​
The current status of the specified scaling group does not support this operation.​
400​
MissingParameter.ScalingGroupId​
The required parameter ScalingGroupId is not supplied.​
The scaling group ID cannot be empty.​
400​
MissingParameter.Processes​
The required parameter Processes is not supplied.​
The required parameter Processes cannot be empty.​
400​
InvalidProcess.Malformed​
The specified Process is malformed.​
The specified process is invalid.​
404​
InvalidScalingGroupId.NotFound​
The specified ScalingGroup [%s] does not exist.​
The specified scaling group does not exist.​
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:53