public class AutoScaleUpRule extends AbstractModel
header, skipSign
Constructor and Description |
---|
AutoScaleUpRule() |
AutoScaleUpRule(AutoScaleUpRule 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 |
---|---|
Long |
getScaleThreshold()
Get 集群用量占比,到达这个值后开始扩容,范围[10-90]
|
String |
getStatus()
Get 自动扩容策略开启,关闭
|
Long |
getTargetThreshold()
Get 扩容后使用量跟集群总量比例,范围[1-90]
|
void |
setScaleThreshold(Long ScaleThreshold)
Set 集群用量占比,到达这个值后开始扩容,范围[10-90]
|
void |
setStatus(String Status)
Set 自动扩容策略开启,关闭
|
void |
setTargetThreshold(Long TargetThreshold)
Set 扩容后使用量跟集群总量比例,范围[1-90]
|
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 AutoScaleUpRule()
public AutoScaleUpRule(AutoScaleUpRule source)
public String getStatus()
public void setStatus(String Status)
Status
- 自动扩容策略开启,关闭public Long getScaleThreshold()
public void setScaleThreshold(Long ScaleThreshold)
ScaleThreshold
- 集群用量占比,到达这个值后开始扩容,范围[10-90]public Long getTargetThreshold()
public void setTargetThreshold(Long TargetThreshold)
TargetThreshold
- 扩容后使用量跟集群总量比例,范围[1-90]Copyright © 2024. All rights reserved.