Resumes suspended processes in a scaling group. This operation allows Auto Scaling to proceed with executing these processes according to their predefined rules and logic. For example, if you resume the health check process in your scaling group, Auto Scaling automatically detects and removes any instances deemed unhealthy from the scaling group.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
Action | String | Yes | ResumeProcesses | The operation that you want to perform. Set the value to ResumeProcesses. |
ScalingGroupId | String | Yes | asg-bp15oubotmrq11xe**** | The ID of the scaling group. |
ClientToken | String | No | 123e4567-e89b-12d3-a456-42665544**** | The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see Ensure idempotence. |
Process.N | String | No | ScaleIn | The type of process N that you want to resume. Valid values of N: 1 to 100. Valid values:
Note Presently, Auto Scaling supports resuming the five mentioned process types. In cases where more than five types are specified, Auto Scaling will automatically disregard duplicates and proceed with resuming the unique process types. |
RegionId | String | No | cn-qingdao | The region ID of the scaling group. |
Response parameters
Parameter | Type | Example | Description |
RequestId | String | E38EB733-D714-4658-8A5F-0688AB68**** | The request ID. |
Examples
Sample requests
http(s)://ess.aliyuncs.com/?Action=ResumeProcesses
&ScalingGroupId=asg-bp15oubotmrq11xe****
&ClientToken=123e4567-e89b-12d3-a456-42665544****
&Process=["ScaleIn"]
&RegionId=cn-qingdao
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<ResumeProcessesResponse>
<RequestId>E38EB733-D714-4658-8A5F-0688AB68****</RequestId>
</ResumeProcessesResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "E38EB733-D714-4658-8A5F-0688AB68****"
}
Error codes
For a list of error codes, see Service error codes.
HTTP status code | Error code | Error message | Description |
404 | InvalidScalingGroupId.NotFound | The specified scaling group does not exist. | The specified scaling group does not exist within your Alibaba Cloud account. |
400 | InvalidParameter | The specified value of parameter "%s" is not valid. | The value of a parameter is invalid. |