Class ActiveRevisionsMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ActiveRevisionsMode>
com.azure.resourcemanager.appcontainers.models.ActiveRevisionsMode
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.</item><item>Single: Only one revision
can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the
default.</item></list>.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ActiveRevisionsMode
Static value Multiple for ActiveRevisionsMode.static final ActiveRevisionsMode
Static value Single for ActiveRevisionsMode. -
Constructor Summary
-
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, hashCode, toString, values
-
Field Details
-
MULTIPLE
Static value Multiple for ActiveRevisionsMode. -
SINGLE
Static value Single for ActiveRevisionsMode.
-
-
Constructor Details
-
ActiveRevisionsMode
public ActiveRevisionsMode()
-
-
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.
-