public class RollingUpdateSettings extends AbstractModel
header, skipSign
Constructor and Description |
---|
RollingUpdateSettings() |
RollingUpdateSettings(RollingUpdateSettings 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 |
getBatchNumber()
Get Batch quantity.
|
String |
getBatchPause()
Get Pause policy between batches.
|
Long |
getMaxSurge()
Get The maximum additional quantity of instances.
|
void |
setBatchNumber(Long BatchNumber)
Set Batch quantity.
|
void |
setBatchPause(String BatchPause)
Set Pause policy between batches.
|
void |
setMaxSurge(Long MaxSurge)
Set The maximum additional quantity of instances.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RollingUpdateSettings()
public RollingUpdateSettings(RollingUpdateSettings source)
public Long getBatchNumber()
public void setBatchNumber(Long BatchNumber)
BatchNumber
- Batch quantity. The batch quantity should be a positive integer greater than 0, but cannot exceed the total number of instances pending refresh.public String getBatchPause()
public void setBatchPause(String BatchPause)
BatchPause
- Pause policy between batches. Default value: Automatic. Valid values:
public Long getMaxSurge()
public void setMaxSurge(Long MaxSurge)
MaxSurge
- The maximum additional quantity of instances. After this parameter is set, create a batch of additional pay-as-you-go instances according to the launch configuration before the rolling update starts. After the rolling update is completed, the additional instances will be terminated.This parameter is used to ensure a certain number of instances available during the rolling update. The maximum additional quantity of instances cannot exceed the number of refreshing instances in a single batch of the rolling update. The rollback process does not support this parameter currently.Copyright © 2024. All rights reserved.