CreateAutoScalingGroup

Creates an auto scaling group. For example,
CreateAutoScalingGroup name=test scalingResourceType=VmInstance minResourceSize=2 maxResourceSize=5 defaultCooldown=60 removalPolicy=NewestInstance

Parameters

Name Description Optional Valid Value Starting Version
name The resource name. 3.1.0
description The detailed description of the resource. Yes 3.1.0
scalingResourceType The resource type of the auto scaling group. Current type: VM instance.
  • VmInstance
3.1.0
minResourceSize The minimum number of VM instances in the auto scaling group. 3.1.0
maxResourceSize The maximum number of VM instances in the auto scaling group. 3.1.0
defaultCooldown The default cooldown time of the auto scaling rule. 3.1.0
removalPolicy The policy for removing a VM instance.
  • OldestInstance
  • NewestInstance
  • OldestScalingConfiguration
  • MinimumCPUUsageInstance
  • MinimumMemoryUsageInstance
3.1.0
defaultEnable Whether to enable the auto scaling group after creation. 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