Class CloudServiceUpgradeMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<CloudServiceUpgradeMode>
com.azure.resourcemanager.compute.models.CloudServiceUpgradeMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class CloudServiceUpgradeMode
extends com.azure.core.util.ExpandableStringEnum<CloudServiceUpgradeMode>
Update mode for the cloud service. Role instances are allocated to update domains when the service is deployed.
Updates can be initiated manually in each update domain or initiated automatically in all update domains.
Possible Values are <br /><br />**Auto**<br /><br />**Manual** <br /><br
/>**Simultaneous**<br /><br />
If not specified, the default value is Auto. If set to Manual, PUT UpdateDomain must be called to apply the update.
If set to Auto, the update is automatically applied to each update domain in sequence.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CloudServiceUpgradeModeStatic value Auto for CloudServiceUpgradeMode.static final CloudServiceUpgradeModeStatic value Manual for CloudServiceUpgradeMode.static final CloudServiceUpgradeModeStatic value Simultaneous for CloudServiceUpgradeMode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CloudServiceUpgradeModefromString(String name) Creates or finds a CloudServiceUpgradeMode from its string representation.static Collection<CloudServiceUpgradeMode> values()Gets known CloudServiceUpgradeMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
AUTO
Static value Auto for CloudServiceUpgradeMode. -
MANUAL
Static value Manual for CloudServiceUpgradeMode. -
SIMULTANEOUS
Static value Simultaneous for CloudServiceUpgradeMode.
-
-
Constructor Details
-
CloudServiceUpgradeMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of CloudServiceUpgradeMode value.
-
-
Method Details
-
fromString
Creates or finds a CloudServiceUpgradeMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding CloudServiceUpgradeMode.
-
values
Gets known CloudServiceUpgradeMode values.- Returns:
- known CloudServiceUpgradeMode values.
-
fromString(String)factory method.