CreateAutoScalingGroupRemovalInstanceRule
Creates a scale-in policy (a rule for removing VM instances) for an auto scaling group.
For
example,
CreateAutoScalingGroupRemovalInstanceRule adjustmentType=PercentChangeInCapacity adjustmentValue=1.0 removalPolicy=MinimumMemoryUsageInstance name=removalInstance autoScalingGroupUuid=8a8070f9926733478acad7bf0ba60a63Parameters
| Name | Description | Optional | Valid Value | Starting Version |
|---|---|---|---|---|
| adjustmentType | The scale-in method. Options:
|
|
3.1.0 | |
| adjustmentValue | The scale-in size. | 3.1.0 | ||
| removalPolicy | The policy for removing a VM instance. |
|
3.1.0 | |
| name | The resource name. | 3.1.0 | ||
| description | The detailed description of the resource. | Yes | 3.1.0 | |
| autoScalingGroupUuid | The UUID of the auto scaling group. | 3.1.0 | ||
| type | The type of the auto scaling rule. | Yes | 3.1.0 | |
| cooldown | The cooldown time after the auto scaling rule is triggered. | Yes | 3.1.0 | |
| resourceUuid | Yes | 3.1.0 | ||
| tagUuids | The tag UUID list. | 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 |