public class ServiceSettings extends AbstractModel
Constructor and Description |
---|
ServiceSettings() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getReplaceMonitorUnhealthy()
Get Enables unhealthy instance replacement.
|
String |
getScalingMode()
Get Valid values:
CLASSIC_SCALING: this is the typical scaling method, which creates and terminates instances to perform scaling operations.
|
void |
setReplaceMonitorUnhealthy(Boolean ReplaceMonitorUnhealthy)
Set Enables unhealthy instance replacement.
|
void |
setScalingMode(String ScalingMode)
Set Valid values:
CLASSIC_SCALING: this is the typical scaling method, which creates and terminates instances to perform scaling operations.
|
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 Boolean getReplaceMonitorUnhealthy()
public void setReplaceMonitorUnhealthy(Boolean ReplaceMonitorUnhealthy)
ReplaceMonitorUnhealthy
- Enables unhealthy instance replacement. If this feature is enabled, AS will replace instances that are flagged as unhealthy by Cloud Monitor. If this parameter is not specified, the value will be False by default.public String getScalingMode()
public void setScalingMode(String ScalingMode)
ScalingMode
- Valid values:
CLASSIC_SCALING: this is the typical scaling method, which creates and terminates instances to perform scaling operations.
WAKE_UP_STOPPED_SCALING: this scaling method first tries to start stopped instances. If the number of instances woken up is insufficient, the system creates new instances for scale-out. For scale-in, instances are terminated as in the typical method. You can use the StopAutoScalingInstances API to stop instances in the scaling group. Scale-out operations triggered by alarms will still create new instances.
Default value: CLASSIC_SCALINGCopyright © 2020. All rights reserved.