CloudServiceUpgradeMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. CloudServiceUpgradeMode
- com.
- com.
public final class CloudServiceUpgradeMode
extends 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
**Auto**
**Manual**
**Simultaneous**
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
Modifier and Type | Field and Description |
---|---|
static final
Cloud |
AUTO
Static value Auto for Cloud |
static final
Cloud |
MANUAL
Static value Manual for Cloud |
static final
Cloud |
SIMULTANEOUS
Static value Simultaneous for Cloud |
Constructor Summary
Constructor | Description |
---|---|
CloudServiceUpgradeMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Cloud |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Cloud |
fromString(String name)
Creates or finds a Cloud |
static
Collection<Cloud |
values()
Gets known Cloud |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
AUTO
public static final CloudServiceUpgradeMode AUTO
Static value Auto for CloudServiceUpgradeMode.
MANUAL
public static final CloudServiceUpgradeMode MANUAL
Static value Manual for CloudServiceUpgradeMode.
SIMULTANEOUS
public static final CloudServiceUpgradeMode SIMULTANEOUS
Static value Simultaneous for CloudServiceUpgradeMode.
Constructor Details
CloudServiceUpgradeMode
@Deprecated
public CloudServiceUpgradeMode()
Deprecated
Creates a new instance of CloudServiceUpgradeMode value.
Method Details
fromString
public static CloudServiceUpgradeMode fromString(String name)
Creates or finds a CloudServiceUpgradeMode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known CloudServiceUpgradeMode values.
Returns:
Applies to
Azure SDK for Java