UpdateAutoScalingGroupRemovalInstanceRule

Modifies the scale-in policy (a rule for removing VM instances) of an auto scaling group. For example,
UpdateAutoScalingGroupRemovalInstanceRule uuid=66d7d0b81f1c399bb98063dfb0d3beaf removalPolicy=NewestInstance

Parameters

Name Description Optional Valid Value Starting Version
adjustmentType The scale-in method. Options:
  • Remove a specified number of VM instances.
  • Remove VM instances by percentage.
  • Remove VM instances to a specified number.
Yes
  • QuantityChangeInCapacity
  • PercentChangeInCapacity
  • TotalCapacity
3.1.0
adjustmentValue The scale-in size. Yes 3.1.0
removalPolicy The policy for removing a VM instance. Yes
  • OldestInstance
  • NewestInstance
  • OldestScalingConfiguration
  • MinimumCPUUsageInstance
  • MinimumMemoryUsageInstance
3.1.0
uuid The resource UUID. 3.1.0
name The resource name. Yes 3.1.0
description The detailed description of the resource. Yes 3.1.0
cooldown The cooldown time. Yes 3.1.0
userTags The user tags. For more information, see CreateUserTag. Yes 3.1.0
systemTags The system tags. For more information, see CreateSystemTag. Yes 3.1.0
timeout Yes