edit-icon download-icon

Disable a scaling group

Last Updated: May 11, 2017

Description

This operation disables a specified scaling group.

  • The scaling activities in progress before the scaling group is disabled are continued until completion, whereas scaling activities triggered after the scaling group is disabled are rejected.
  • The interface can be called only when the scaling group is active.

Request parameters

Name Type Required? Description
Action String Yes Operation interface name, required parameter. Value: DisableScalingGroup
ScalingGroupId String Yes Scaling group ID

Return parameters

Public parameters

Error code

For errors common to all interfaces, refer to the Client Error Table or Server Error Table.

Error Error code Description HTTP Status Code
The specified scaling group does not exist in this account. InvalidScalingGroupId.NotFound The specified scaling group does not exist. 404

Example

Request example
  1. http://ess.aliyuncs.com/?Action=DisableScalingGroup
  2. &ScalingGroupId=dmIDKNcyWfzncX9MWX1bwFV
  3. &<Public Request Parameters>
Return example

XML example:

  1. < DisableScalingGroupResponse>
  2. <RequestId>6469DCD0-13AC-487E-85A0-CE4922908FDE</RequestId>
  3. </ DisableScalingGroupResponse>

JSON format:

  1. {
  2. "RequestId": "6469DCD0-13AC-487E-85A0-CE4922908FDE"
  3. }
Thank you! We've received your feedback.