UpgradeMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. compute. batch. models. UpgradeMode
- com.
- com.
public final class UpgradeMode
extends ExpandableStringEnum<UpgradeMode>
UpgradeMode enums.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Upgrade |
AUTOMATIC
TAll virtual machines in the scale set are automatically updated at the same time. |
|
static final
Upgrade |
MANUAL
You control the application of updates to virtual machines in the scale set. |
|
static final
Upgrade |
ROLLING
The existing instances in a scale set are brought down in batches to be upgraded. |
Constructor Summary
| Constructor | Description |
|---|---|
| UpgradeMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Upgrade |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Upgrade |
fromString(String name)
Creates or finds a Upgrade |
|
static
Collection<Upgrade |
values()
Gets known Upgrade |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AUTOMATIC
public static final UpgradeMode AUTOMATIC
TAll virtual machines in the scale set are automatically updated at the same time.
MANUAL
public static final UpgradeMode MANUAL
You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.
ROLLING
public static final UpgradeMode ROLLING
The existing instances in a scale set are brought down in batches to be upgraded. Once the upgraded batch is complete, the instances will begin taking traffic again and the next batch will begin. This continues until all instances brought up-to-date.
Constructor Details
UpgradeMode
@Deprecated
public UpgradeMode()
Deprecated
Creates a new instance of UpgradeMode value.
Method Details
fromString
public static UpgradeMode fromString(String name)
Creates or finds a UpgradeMode from its string representation.
Parameters:
Returns:
values
public static Collection<UpgradeMode> values()
Gets known UpgradeMode values.
Returns: