ActiveRevisionsMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. appservice. models. ActiveRevisionsMode
- com.
- com.
public final class ActiveRevisionsMode
extends ExpandableStringEnum<ActiveRevisionsMode>
ActiveRevisionsMode controls how active revisions are handled for the Container app: Multiple: multiple revisions can be active. If no value if provided, this is the defaultSingle: Only one revision can be active at a time. Revision weights can not be used in this mode.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Active |
MULTIPLE
Static value multiple for Active |
static final
Active |
SINGLE
Static value single for Active |
Constructor Summary
Constructor | Description |
---|---|
ActiveRevisionsMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Active |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Active |
fromString(String name)
Creates or finds a Active |
static
Collection<Active |
values()
Gets known Active |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
MULTIPLE
public static final ActiveRevisionsMode MULTIPLE
Static value multiple for ActiveRevisionsMode.
SINGLE
public static final ActiveRevisionsMode SINGLE
Static value single for ActiveRevisionsMode.
Constructor Details
ActiveRevisionsMode
@Deprecated
public ActiveRevisionsMode()
Deprecated
Creates a new instance of ActiveRevisionsMode value.
Method Details
fromString
public static ActiveRevisionsMode fromString(String name)
Creates or finds a ActiveRevisionsMode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ActiveRevisionsMode values.
Returns:
Applies to
Azure SDK for Java