共用方式為


IWithUpdateAgentPoolCountBeta.WithAgentPoolVirtualMachineCount Method

Definition

Overloads

WithAgentPoolVirtualMachineCount(Int32)

Updates all the agent pools virtual machine count.

WithAgentPoolVirtualMachineCount(String, Int32)

Updates the agent pool virtual machine count.

WithAgentPoolVirtualMachineCount(Int32)

Updates all the agent pools virtual machine count.

public Microsoft.Azure.Management.ContainerService.Fluent.KubernetesCluster.Update.IUpdate WithAgentPoolVirtualMachineCount (int agentCount);
abstract member WithAgentPoolVirtualMachineCount : int -> Microsoft.Azure.Management.ContainerService.Fluent.KubernetesCluster.Update.IUpdate
Public Function WithAgentPoolVirtualMachineCount (agentCount As Integer) As IUpdate

Parameters

agentCount
Int32

The number of agents (virtual machines) to host docker containers.

Returns

Applies to

WithAgentPoolVirtualMachineCount(String, Int32)

Updates the agent pool virtual machine count.

public Microsoft.Azure.Management.ContainerService.Fluent.KubernetesCluster.Update.IUpdate WithAgentPoolVirtualMachineCount (string agentPoolName, int agentCount);
abstract member WithAgentPoolVirtualMachineCount : string * int -> Microsoft.Azure.Management.ContainerService.Fluent.KubernetesCluster.Update.IUpdate
Public Function WithAgentPoolVirtualMachineCount (agentPoolName As String, agentCount As Integer) As IUpdate

Parameters

agentPoolName
String

The name of the agent pool to be updated.

agentCount
Int32

The number of agents (virtual machines) to host docker containers.

Returns

Applies to