修改伸缩组缩容规则(UpdateAutoScalingGroupRemovalInstanceRule)

用户可以使用UpdateAutoScalingGroupRemovalInstanceRule修改伸缩组缩容规则。 例如:
UpdateAutoScalingGroupRemovalInstanceRule uuid=66d7d0b81f1c399bb98063dfb0d3beaf removalPolicy=NewestInstance

参数(Parameters)

名字 描述 可选的 可选的参数值 起始支持版本
adjustmentType 缩容方式:减少指定数量云主机,按百分比减少云主机,减少云主机数量到指定值
  • QuantityChangeInCapacity
  • PercentChangeInCapacity
  • TotalCapacity
3.1.0
adjustmentValue 缩容数值 3.1.0
removalPolicy 删除云主机策略
  • OldestInstance
  • NewestInstance
  • OldestScalingConfiguration
  • MinimumCPUUsageInstance
  • MinimumMemoryUsageInstance
3.1.0
uuid 资源的UUID,唯一标示该资源 3.1.0
name 资源名称 3.1.0
description (可选) 资源的详细描述 3.1.0
cooldown 冷却时间 3.1.0
userTags 用户标签,请参见 创建用户标签(CreateUserTag) 3.1.0
systemTags 系统标签,请参见 创建系统标签(CreateSystemTag) 3.1.0
timeout