你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IWithUpdateAgentPoolCountBeta.WithAgentPoolVirtualMachineCount 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WithAgentPoolVirtualMachineCount(Int32) |
汇报所有代理池虚拟机计数。 |
WithAgentPoolVirtualMachineCount(String, Int32) |
汇报代理池虚拟机计数。 |
WithAgentPoolVirtualMachineCount(Int32)
汇报所有代理池虚拟机计数。
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
参数
- agentCount
- Int32
) 托管 docker 容器 (虚拟机的代理数。
返回
适用于
WithAgentPoolVirtualMachineCount(String, Int32)
汇报代理池虚拟机计数。
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
参数
- agentPoolName
- String
要更新的代理池的名称。
- agentCount
- Int32
) 托管 docker 容器 (虚拟机的代理数。