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

IWithAgentPoolVirtualMachineCount<ParentT>.WithAgentPoolVirtualMachineCount 方法

定义

指定 (虚拟机) 用于托管 docker 容器的代理数。

public Microsoft.Azure.Management.ContainerService.Fluent.KubernetesClusterAgentPool.Definition.IWithAttach<ParentT> WithAgentPoolVirtualMachineCount (int count);
abstract member WithAgentPoolVirtualMachineCount : int -> Microsoft.Azure.Management.ContainerService.Fluent.KubernetesClusterAgentPool.Definition.IWithAttach<'ParentT>
Public Function WithAgentPoolVirtualMachineCount (count As Integer) As IWithAttach(Of ParentT)

参数

count
Int32

) 托管 docker 容器 (VM 的代理数。 允许的值必须在 1 到 100 ((含) )的范围内;默认值为 1。

返回

适用于