共用方式為


IWithAgentPoolMode<ParentT>.WithAgentPoolMode(AgentPoolMode) Method

Definition

Set agent pool type to every virtual machine in the agent pool.

public Microsoft.Azure.Management.ContainerService.Fluent.KubernetesClusterAgentPool.Definition.IWithAttach<ParentT> WithAgentPoolMode (Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolMode agentPoolMode);
abstract member WithAgentPoolMode : Microsoft.Azure.Management.ContainerService.Fluent.Models.AgentPoolMode -> Microsoft.Azure.Management.ContainerService.Fluent.KubernetesClusterAgentPool.Definition.IWithAttach<'ParentT>
Public Function WithAgentPoolMode (agentPoolMode As AgentPoolMode) As IWithAttach(Of ParentT)

Parameters

agentPoolMode
AgentPoolMode

The agent pool mode for the agent pool.

Returns

Applies to