你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AgentPoolMode Class

public final class AgentPoolMode
extends ExpandableStringEnum<AgentPoolMode>

The selection of how this agent pool is utilized, either as a system pool or a user pool. System pools run the features and critical services for the Kubernetes Cluster, while user pools are dedicated to user workloads. Every Kubernetes cluster must contain at least one system node pool with at least one node.

Field Summary

Modifier and Type Field and Description
static final AgentPoolMode NOT_APPLICABLE

Static value NotApplicable for AgentPoolMode.

static final AgentPoolMode SYSTEM

Static value System for AgentPoolMode.

static final AgentPoolMode USER

Static value User for AgentPoolMode.

Constructor Summary

Constructor Description
AgentPoolMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AgentPoolMode value.

Method Summary

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

Creates or finds a AgentPoolMode from its string representation.

static Collection<AgentPoolMode> values()

Gets known AgentPoolMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NOT_APPLICABLE

public static final AgentPoolMode NOT_APPLICABLE

Static value NotApplicable for AgentPoolMode.

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 name) 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.

Applies to