Class ActiveRevisionsMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ActiveRevisionsMode>
com.azure.resourcemanager.appservice.models.ActiveRevisionsMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class ActiveRevisionsMode
extends com.azure.core.util.ExpandableStringEnum<ActiveRevisionsMode>
ActiveRevisionsMode controls how active revisions are handled for the Container app:
<list><item>Multiple: multiple revisions can be active. If no value if provided, this is the
default</item><item>Single: Only one revision can be active at a time. Revision weights can not be used
in this mode</item></list>.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ActiveRevisionsMode
Static value multiple for ActiveRevisionsMode.static final ActiveRevisionsMode
Static value single for ActiveRevisionsMode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ActiveRevisionsMode
fromString
(String name) Creates or finds a ActiveRevisionsMode from its string representation.static Collection
<ActiveRevisionsMode> values()
Gets known ActiveRevisionsMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
MULTIPLE
Static value multiple for ActiveRevisionsMode. -
SINGLE
Static value single for ActiveRevisionsMode.
-
-
Constructor Details
-
ActiveRevisionsMode
Deprecated.Use thefromString(String)
factory method.Creates a new instance of ActiveRevisionsMode value.
-
-
Method Details
-
fromString
Creates or finds a ActiveRevisionsMode from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ActiveRevisionsMode.
-
values
Gets known ActiveRevisionsMode values.- Returns:
- known ActiveRevisionsMode values.
-
fromString(String)
factory method.