edit-icon download-icon

Delete a scaling configuration

Last Updated: May 11, 2017


Deletes a specified scaling configuration.

  • An active scaling configuration in a scaling group cannot be deleted.
  • If any ECS instance created according to a scaling configuration is still in the scaling group, the scaling configuration cannot be deleted.

Request parameters

Name Type Required? Description
Action String Yes Operation interface, required. The parameter value is DeleteScalingConfiguration.
ScalingConfigurationId String Yes ID of a scaling configuration.

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 configuration does not exist in this account. InvalidScalingConfigurationId.NotFound The specified scaling configuration does not exist. 404
The specified scaling configuration is not in inactive state. IncorrectScalingConfigurationLifecycleState The current lifecycle state of specified scaling configuration does not support this action. 400
The scaling configuration has an associated ECS instance not deleted yet. InstanceInUse You cannot delete a scaling configuration or scaling group while there is an instance associated with it. 400


Request example
  1. http://ess.aliyuncs.com/?Action=DeleteScalingConfiguration
  2. &ScalingConfigurationId=eOs27Kb0oXvQcUYjEGelJqUy
  3. &<Public Request Parameters>
Return example

XML format:

  1. <DeleteScalingConfigurationResponse>
  2. <RequestId>61D30272-7111-44D9-BB45-FCB55E4A1410</RequestId>
  3. </DeleteScalingConfigurationResponse>

JSON format:

  1. "RequestId": "61D30272-7111-44D9-BB45-FCB55E4A1410"
Thank you! We've received your feedback.