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>

public final class UpgradeMode extends com.azure.core.util.ExpandableStringEnum<UpgradeMode>
UpgradeMode enums.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates or finds a UpgradeMode from its string representation.
    Gets known UpgradeMode values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding UpgradeMode.
    • values

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