public class HorizontalAutoscaler extends AbstractModel
Constructor and Description |
---|
HorizontalAutoscaler() |
HorizontalAutoscaler(HorizontalAutoscaler 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 |
getMaxReplicas()
Get 最大实例数
|
String |
getMetrics()
Get 指标度量(CPU or MEMORY)
|
Long |
getMinReplicas()
Get 最小实例数
|
Long |
getThreshold()
Get 阈值(百分比)
|
void |
setMaxReplicas(Long MaxReplicas)
Set 最大实例数
|
void |
setMetrics(String Metrics)
Set 指标度量(CPU or MEMORY)
|
void |
setMinReplicas(Long MinReplicas)
Set 最小实例数
|
void |
setThreshold(Long Threshold)
Set 阈值(百分比)
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public HorizontalAutoscaler()
public HorizontalAutoscaler(HorizontalAutoscaler source)
public Long getMinReplicas()
public void setMinReplicas(Long MinReplicas)
MinReplicas
- 最小实例数public Long getMaxReplicas()
public void setMaxReplicas(Long MaxReplicas)
MaxReplicas
- 最大实例数public String getMetrics()
public void setMetrics(String Metrics)
Metrics
- 指标度量(CPU or MEMORY)public Long getThreshold()
public void setThreshold(Long Threshold)
Threshold
- 阈值(百分比)Copyright © 2022. All rights reserved.