Suspends processes in a scaling group.
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
ScalingGroupId | string | Yes | 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 ensure that the value is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length. For more information, see How to ensure idempotence. | asg-bp15oubotmrq11xe**** |
ClientToken | string | No | The types of the processes that you want to suspend. Valid values:
You can suspend five processes of the preceding types at the same time. If you try to suspend more than five processes at the same time, Auto Scaling automatically removes duplicate processes. | 123e4567-e89b-12d3-a456-42665544**** |
Processes | array | Yes | The types of the processes that you want to suspend. Valid values:
You can suspend five processes of the preceding types at the same time. If you try to suspend more than five processes at the same time, Auto Scaling automatically removes duplicate processes. | |
string | No | The region ID of the scaling group. | ScaleIn | |
RegionId | string | No | The ID of the request. | cn-hangzhou |
Response parameters
Example
Normal return example
JSON
Format
{
"RequestId": "3E2033F0-03B4-419D-BCE2-C2339DB51****"
}
Error codes
For a list of error codes, visit the API error center.