public class ModifyDesiredCapacityRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyDesiredCapacityRequest() |
ModifyDesiredCapacityRequest(ModifyDesiredCapacityRequest 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 |
getAutoScalingGroupId()
Get Scaling group ID.
|
Long |
getDesiredCapacity()
Get Expected number of instances, value ranges from 0 to 2000, to meet MaxSize >= DesiredCapacity >= MinSize.
|
Long |
getMaxSize()
Get Maximum instance count.
|
Long |
getMinSize()
Get Minimum number of instances.
|
void |
setAutoScalingGroupId(String AutoScalingGroupId)
Set Scaling group ID.
|
void |
setDesiredCapacity(Long DesiredCapacity)
Set Expected number of instances, value ranges from 0 to 2000, to meet MaxSize >= DesiredCapacity >= MinSize.
|
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, toJsonString
public ModifyDesiredCapacityRequest()
public ModifyDesiredCapacityRequest(ModifyDesiredCapacityRequest source)
public String getAutoScalingGroupId()
public void setAutoScalingGroupId(String AutoScalingGroupId)
AutoScalingGroupId
- Scaling group ID. obtain the scaling group ID by logging in to the console (https://console.cloud.tencent.com/autoscaling/group) or calling the api DescribeAutoScalingGroups (https://intl.cloud.tencent.com/document/api/377/20438?from_cn_redirect=1), and retrieve AutoScalingGroupId from the returned information.public Long getDesiredCapacity()
public void setDesiredCapacity(Long DesiredCapacity)
DesiredCapacity
- Expected number of instances, value ranges from 0 to 2000, to meet MaxSize >= DesiredCapacity >= MinSize.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.Copyright © 2025. All rights reserved.