public class AutoStrategy extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AutoStrategy() | 
| AutoStrategy(AutoStrategy 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 | getExpandPeriod()Get Interval, in seconds. | 
| Long | getExpandThreshold()Get CPU utilization threshold (percent value). | 
| Long | getShrinkPeriod()Get Interval, in seconds. | 
| Long | getShrinkThreshold()Get CPU utilization threshold (percent value). | 
| void | setExpandPeriod(Long ExpandPeriod)Set Interval, in seconds. | 
| void | setExpandThreshold(Long ExpandThreshold)Set CPU utilization threshold (percent value). | 
| void | setShrinkPeriod(Long ShrinkPeriod)Set Interval, in seconds. | 
| void | setShrinkThreshold(Long ShrinkThreshold)Set CPU utilization threshold (percent value). | 
| 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 AutoStrategy()
public AutoStrategy(AutoStrategy source)
public Long getExpandThreshold()
public void setExpandThreshold(Long ExpandThreshold)
ExpandThreshold - CPU utilization threshold (percent value). Valid values: 70, 80, and 90. Automatic scale-out will be triggered when CPU utilization reaches the set threshold.public Long getExpandPeriod()
public void setExpandPeriod(Long ExpandPeriod)
ExpandPeriod - Interval, in seconds. Valid values: 1, 3, 5, 10, 15, and 30. The system backend determines whether automatic scale-out is required at the set interval.public Long getShrinkThreshold()
public void setShrinkThreshold(Long ShrinkThreshold)
ShrinkThreshold - CPU utilization threshold (percent value). Valid values: 10, 20, and 30. Automatic scale-in will be triggered when CPU utilization reaches the set threshold.public Long getShrinkPeriod()
public void setShrinkPeriod(Long ShrinkPeriod)
ShrinkPeriod - Interval, in seconds. Valid values: 5, 10, 15, and 30. The system backend determines whether automatic scale-in is required at the set interval.Copyright © 2025. All rights reserved.