UpgradePreference Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. appservice. models. UpgradePreference
- com.
- com.
public final class UpgradePreference
extends ExpandableStringEnum<UpgradePreference>
Upgrade Preference.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Upgrade |
EARLY
This App Service Environment will be upgraded before others in the same region that have Upgrade Preference 'Late'. |
|
static final
Upgrade |
LATE
This App Service Environment will be upgraded after others in the same region that have Upgrade Preference 'Early'. |
|
static final
Upgrade |
MANUAL
ASEv3 only. |
|
static final
Upgrade |
NONE
No preference on when this App Service Environment will be upgraded. |
Constructor Summary
| Constructor | Description |
|---|---|
| UpgradePreference() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Upgrade |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Upgrade |
fromString(String name)
Creates or finds a Upgrade |
|
static
Collection<Upgrade |
values()
Gets known Upgrade |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
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.
NONE
public static final UpgradePreference NONE
No preference on when this App Service Environment will be upgraded.
Constructor Details
UpgradePreference
@Deprecated
public UpgradePreference()
Deprecated
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:
Returns:
values
public static Collection<UpgradePreference> values()
Gets known UpgradePreference values.
Returns: