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 Summary
FieldsModifier and TypeFieldDescriptionstatic final UpgradePreferenceThis App Service Environment will be upgraded before others in the same region that have Upgrade Preference 'Late'.static final UpgradePreferenceThis App Service Environment will be upgraded after others in the same region that have Upgrade Preference 'Early'.static final UpgradePreferenceASEv3 only.static final UpgradePreferenceNo preference on when this App Service Environment will be upgraded. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UpgradePreferencefromString(String name) Creates or finds a UpgradePreference from its string representation.static Collection<UpgradePreference> values()Gets known UpgradePreference values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NONE
No preference on when this App Service Environment will be upgraded. -
EARLY
This App Service Environment will be upgraded before others in the same region that have Upgrade Preference 'Late'. -
LATE
This App Service Environment will be upgraded after others in the same region that have Upgrade Preference 'Early'. -
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.Use thefromString(String)factory method.Creates a new instance of UpgradePreference value.
-
-
Method Details
-
fromString
Creates or finds a UpgradePreference from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding UpgradePreference.
-
values
Gets known UpgradePreference values.- Returns:
- known UpgradePreference values.
-
fromString(String)factory method.