AgentPoolType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. containerservice. models. AgentPoolType
- com.
- com.
public final class AgentPoolType
extends ExpandableStringEnum<AgentPoolType>
The type of Agent Pool.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Agent |
AVAILABILITY_SET
Use of this is strongly discouraged. |
|
static final
Agent |
VIRTUAL_MACHINES
Create an Agent Pool backed by a Single Instance VM orchestration mode. |
|
static final
Agent |
VIRTUAL_MACHINE_SCALE_SETS
Create an Agent Pool backed by a Virtual Machine Scale Set. |
Constructor Summary
| Constructor | Description |
|---|---|
| AgentPoolType() |
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
AVAILABILITY_SET
public static final AgentPoolType AVAILABILITY_SET
Use of this is strongly discouraged.
VIRTUAL_MACHINES
public static final AgentPoolType VIRTUAL_MACHINES
Create an Agent Pool backed by a Single Instance VM orchestration mode.
VIRTUAL_MACHINE_SCALE_SETS
public static final AgentPoolType VIRTUAL_MACHINE_SCALE_SETS
Create an Agent Pool backed by a Virtual Machine Scale Set.
Constructor Details
AgentPoolType
@Deprecated
public AgentPoolType()
Deprecated
Creates a new instance of AgentPoolType value.
Method Details
fromString
public static AgentPoolType fromString(String name)
Creates or finds a AgentPoolType from its string representation.
Parameters:
Returns:
values
public static Collection<AgentPoolType> values()
Gets known AgentPoolType values.
Returns: