Class CloudServiceUpgradeMode

java.lang.Object
com.azure.core.util.ExpandableStringEnum<CloudServiceUpgradeMode>
com.azure.resourcemanager.compute.models.CloudServiceUpgradeMode

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 Details

  • Constructor Details

    • CloudServiceUpgradeMode

      @Deprecated public CloudServiceUpgradeMode()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding CloudServiceUpgradeMode.
    • values

      public static Collection<CloudServiceUpgradeMode> values()
      Gets known CloudServiceUpgradeMode values.
      Returns:
      known CloudServiceUpgradeMode values.