All Products
Search
Document Center

Auto Scaling:SuspendProcesses

Last Updated:Feb 06, 2023

Suspends processes in a scaling group.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ScalingGroupIdstringYes

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****
ClientTokenstringNo

The types of the processes that you want to suspend. Valid values:

  • scalein
  • scaleout
  • healthcheck
  • alarmnotification
  • scheduledaction

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****
ProcessesarrayYes

The types of the processes that you want to suspend. Valid values:

  • scalein
  • scaleout
  • healthcheck
  • alarmnotification
  • scheduledaction

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.

stringNo

The region ID of the scaling group.

ScaleIn
RegionIdstringNo

The ID of the request.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

auditing

3E2033F0-03B4-419D-BCE2-C2339DB51****

Example

Normal return example

JSONFormat

{
  "RequestId": "3E2033F0-03B4-419D-BCE2-C2339DB51****"
}

Error codes

For a list of error codes, visit the API error center.