共用方式為


IWithAgentPoolType<ParentT>.WithAgentPoolType(AgentPoolType) Method

Definition

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

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

Parameters

agentPoolType
AgentPoolType

The agent pool type for every machine in the agent pool.

Returns

Applies to