AgentPoolMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. AgentPoolMode
- com.
- com.
public final class AgentPoolMode
extends 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 Summary
Modifier and Type | Field and Description |
---|---|
static final
Agent |
SYSTEM
Static value System for Agent |
static final
Agent |
USER
Static value User for Agent |
Constructor Summary
Constructor | Description |
---|---|
AgentPoolMode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Agent |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Agent |
fromString(String name)
Creates or finds a Agent |
static
Collection<Agent |
values()
Gets known Agent |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
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
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:
Returns:
values
public static Collection
Gets known AgentPoolMode values.
Returns:
Applies to
Azure SDK for Java