SiteUpdateStrategyType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. appservice. models. SiteUpdateStrategyType
- com.
- com.
public final class SiteUpdateStrategyType
extends ExpandableStringEnum<SiteUpdateStrategyType>
Function app site update strategy type. Available options: Recreate, RollingUpdate.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Site |
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. |
|
static final
Site |
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 Summary
| Constructor | Description |
|---|---|
| SiteUpdateStrategyType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Site |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Site |
fromString(String name)
Creates or finds a Site |
|
static
Collection<Site |
values()
Gets known Site |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
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
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:
Returns:
values
public static Collection<SiteUpdateStrategyType> values()
Gets known SiteUpdateStrategyType values.
Returns: