Class UpgradePreference

java.lang.Object
com.azure.core.util.ExpandableStringEnum<UpgradePreference>
com.azure.resourcemanager.appservice.models.UpgradePreference
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class UpgradePreference extends com.azure.core.util.ExpandableStringEnum<UpgradePreference>
Upgrade Preference.
  • Field Details

    • NONE

      public static final UpgradePreference NONE
      No preference on when this App Service Environment will be upgraded.
    • EARLY

      public static final UpgradePreference EARLY
      This App Service Environment will be upgraded before others in the same region that have Upgrade Preference 'Late'.
    • LATE

      public static final UpgradePreference LATE
      This App Service Environment will be upgraded after others in the same region that have Upgrade Preference 'Early'.
    • MANUAL

      public static final UpgradePreference MANUAL
      ASEv3 only. Once an upgrade is available, this App Service Environment will wait 10 days for the upgrade to be manually initiated. After 10 days the upgrade will begin automatically.
  • Constructor Details

    • UpgradePreference

      @Deprecated public UpgradePreference()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of UpgradePreference value.
  • Method Details

    • fromString

      public static UpgradePreference fromString(String name)
      Creates or finds a UpgradePreference from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding UpgradePreference.
    • values

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