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 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.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding ActiveRevisionsMode.
    • values

      public static Collection<ActiveRevisionsMode> values()
      Gets known ActiveRevisionsMode values.
      Returns:
      known ActiveRevisionsMode values.