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 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

      public ActiveRevisionsMode()
  • 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.