public class CreateAutoScalingGroupFromInstanceRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateAutoScalingGroupFromInstanceRequest() | 
| CreateAutoScalingGroupFromInstanceRequest(CreateAutoScalingGroupFromInstanceRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getAutoScalingGroupName()Get The scaling group name. | 
| Long | getDesiredCapacity()Get Expected number of instances, value ranges from 0 to 2000, default value equals current MinSize, to meet MaxSize >= DesiredCapacity >= MinSize. | 
| Boolean | getInheritInstanceTag()Get Whether to inherit the instance tag. | 
| String | getInstanceId()Get Instance ID. | 
| Long | getMaxSize()Get Maximum instance count. | 
| Long | getMinSize()Get Minimum number of instances. | 
| void | setAutoScalingGroupName(String AutoScalingGroupName)Set The scaling group name. | 
| void | setDesiredCapacity(Long DesiredCapacity)Set Expected number of instances, value ranges from 0 to 2000, default value equals current MinSize, to meet MaxSize >= DesiredCapacity >= MinSize. | 
| void | setInheritInstanceTag(Boolean InheritInstanceTag)Set Whether to inherit the instance tag. | 
| void | setInstanceId(String InstanceId)Set Instance ID. | 
| void | setMaxSize(Long MaxSize)Set Maximum instance count. | 
| void | setMinSize(Long MinSize)Set Minimum number of instances. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateAutoScalingGroupFromInstanceRequest()
public CreateAutoScalingGroupFromInstanceRequest(CreateAutoScalingGroupFromInstanceRequest source)
public String getAutoScalingGroupName()
public void setAutoScalingGroupName(String AutoScalingGroupName)
AutoScalingGroupName - The scaling group name. It must be unique under your account. The name can only contain letters, numbers, underscore, hyphen "-" and periods. It cannot exceed 55 bytes.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Instance ID. you can get the instance ID by logging in to the [console](https://console.cloud.tencent.com/cvm/index) or making an api call to [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) and retrieving the `InstanceId` from the returned information.public Long getMinSize()
public void setMinSize(Long MinSize)
MinSize - Minimum number of instances. value range: [0,2000]. to meet MaxSize >= DesiredCapacity >= MinSize at the same time.public Long getMaxSize()
public void setMaxSize(Long MaxSize)
MaxSize - Maximum instance count. value range [0,2000]. to meet MaxSize >= DesiredCapacity >= MinSize.public Long getDesiredCapacity()
public void setDesiredCapacity(Long DesiredCapacity)
DesiredCapacity - Expected number of instances, value ranges from 0 to 2000, default value equals current MinSize, to meet MaxSize >= DesiredCapacity >= MinSize.public Boolean getInheritInstanceTag()
public void setInheritInstanceTag(Boolean InheritInstanceTag)
InheritInstanceTag - Whether to inherit the instance tag. Default value: FalseCopyright © 2025. All rights reserved.