java.lang.Object
com.azure.core.util.ExpandableStringEnum<AgentPoolMode>
com.azure.resourcemanager.containerservice.models.AgentPoolMode

public final class AgentPoolMode extends com.azure.core.util.ExpandableStringEnum<AgentPoolMode>
The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional information on agent pool restrictions and best practices, see: https://docs.microsoft.com/azure/aks/use-system-pools.
  • Field Details

    • SYSTEM

      public static final AgentPoolMode SYSTEM
      Static value System for AgentPoolMode.
    • USER

      public static final AgentPoolMode USER
      Static value User for AgentPoolMode.
  • Constructor Details

    • AgentPoolMode

      @Deprecated public AgentPoolMode()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of AgentPoolMode value.
  • Method Details

    • fromString

      public static AgentPoolMode fromString(String name)
      Creates or finds a AgentPoolMode from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding AgentPoolMode.
    • values

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