Class SiteUpdateStrategyType

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

public final class SiteUpdateStrategyType extends com.azure.core.util.ExpandableStringEnum<SiteUpdateStrategyType>
Function app site update strategy type. Available options: Recreate, RollingUpdate.
  • Field Details

    • RECREATE

      public static final SiteUpdateStrategyType RECREATE
      If the app is under load and a deployment or site state update occurs, all pods will be removed and will need to be Recreated all at once. This is the default behavior.
    • ROLLING_UPDATE

      public static final SiteUpdateStrategyType ROLLING_UPDATE
      If the app is under load and a deployment or site state update occurs, pods will be drained in batches and gradually replaced, thus minimizing impact to throughput.
  • Constructor Details

    • SiteUpdateStrategyType

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

    • fromString

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

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