Package com.azure.compute.batch.models
Class UpgradeMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<UpgradeMode>
com.azure.compute.batch.models.UpgradeMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
UpgradeMode enums.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UpgradeMode
TAll virtual machines in the scale set are automatically updated at the same time.static final UpgradeMode
You control the application of updates to virtual machines in the scale set.static final UpgradeMode
The existing instances in a scale set are brought down in batches to be upgraded. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UpgradeMode
fromString
(String name) Creates or finds a UpgradeMode from its string representation.static Collection
<UpgradeMode> values()
Gets known UpgradeMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
AUTOMATIC
TAll virtual machines in the scale set are automatically updated at the same time. -
MANUAL
You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action. -
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.Use thefromString(String)
factory method.Creates a new instance of UpgradeMode value.
-
-
Method Details
-
fromString
Creates or finds a UpgradeMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding UpgradeMode.
-
values
Gets known UpgradeMode values.- Returns:
- known UpgradeMode values.
-
fromString(String)
factory method.