AgentPoolType Class

public final class AgentPoolType
extends ExpandableStringEnum<AgentPoolType>

The type of Agent Pool.

Field Summary

Modifier and Type Field and Description
static final AgentPoolType AVAILABILITY_SET

Static value AvailabilitySet for AgentPoolType.

static final AgentPoolType VIRTUAL_MACHINE_SCALE_SETS

Static value VirtualMachineScaleSets for AgentPoolType.

Constructor Summary

Constructor Description
AgentPoolType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AgentPoolType value.

Method Summary

Modifier and Type Method and Description
static AgentPoolType fromString(String name)

Creates or finds a AgentPoolType from its string representation.

static Collection<AgentPoolType> values()

Gets known AgentPoolType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AVAILABILITY_SET

public static final AgentPoolType AVAILABILITY_SET

Static value AvailabilitySet for AgentPoolType.

VIRTUAL_MACHINE_SCALE_SETS

public static final AgentPoolType VIRTUAL_MACHINE_SCALE_SETS

Static value VirtualMachineScaleSets for AgentPoolType.

Constructor Details

AgentPoolType

@Deprecated
public AgentPoolType()

Deprecated

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding AgentPoolType.

values

public static Collection values()

Gets known AgentPoolType values.

Returns:

known AgentPoolType values.

Applies to