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 Summary
FieldsModifier and TypeFieldDescriptionstatic final SiteUpdateStrategyTypeIf 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.static final SiteUpdateStrategyTypeIf 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SiteUpdateStrategyTypefromString(String name) Creates or finds a SiteUpdateStrategyType from its string representation.static Collection<SiteUpdateStrategyType> values()Gets known SiteUpdateStrategyType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
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
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.Use thefromString(String)factory method.Creates a new instance of SiteUpdateStrategyType value.
-
-
Method Details
-
fromString
Creates or finds a SiteUpdateStrategyType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SiteUpdateStrategyType.
-
values
Gets known SiteUpdateStrategyType values.- Returns:
- known SiteUpdateStrategyType values.
-
fromString(String)factory method.