Share via


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

IDefinition<ParentT> 接口

定义

容器服务代理池定义的完整定义作为父定义的一部分。

public interface IDefinition<ParentT> : Microsoft.Azure.Management.ContainerService.Fluent.KubernetesClusterAgentPool.Definition.IBlank<ParentT>, Microsoft.Azure.Management.ContainerService.Fluent.KubernetesClusterAgentPool.Definition.IWithAgentPoolMode<ParentT>, Microsoft.Azure.Management.ContainerService.Fluent.KubernetesClusterAgentPool.Definition.IWithAgentPoolType<ParentT>, Microsoft.Azure.Management.ContainerService.Fluent.KubernetesClusterAgentPool.Definition.IWithAgentPoolVirtualMachineCount<ParentT>, Microsoft.Azure.Management.ContainerService.Fluent.KubernetesClusterAgentPool.Definition.IWithAttach<ParentT>, Microsoft.Azure.Management.ContainerService.Fluent.KubernetesClusterAgentPool.Definition.IWithMaxPodsCount<ParentT>, Microsoft.Azure.Management.ContainerService.Fluent.KubernetesClusterAgentPool.Definition.IWithOSDiskSize<ParentT>, Microsoft.Azure.Management.ContainerService.Fluent.KubernetesClusterAgentPool.Definition.IWithOSType<ParentT>, Microsoft.Azure.Management.ContainerService.Fluent.KubernetesClusterAgentPool.Definition.IWithVirtualNetwork<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type IDefinition<'ParentT> = interface
    interface IBeta
    interface IBlank<'ParentT>
    interface IWithOSType<'ParentT>
    interface IWithOSDiskSize<'ParentT>
    interface IWithAgentPoolType<'ParentT>
    interface IWithAgentPoolMode<'ParentT>
    interface IWithAgentPoolVirtualMachineCount<'ParentT>
    interface IWithMaxPodsCount<'ParentT>
    interface IWithVirtualNetwork<'ParentT>
    interface IWithAttach<'ParentT>
    interface IInDefinition<'ParentT>
Public Interface IDefinition(Of ParentT)
Implements IBeta, IBlank(Of ParentT), IInDefinition(Of ParentT), IWithAgentPoolMode(Of ParentT), IWithAgentPoolType(Of ParentT), IWithAgentPoolVirtualMachineCount(Of ParentT), IWithAttach(Of ParentT), IWithMaxPodsCount(Of ParentT), IWithOSDiskSize(Of ParentT), IWithOSType(Of ParentT), IWithVirtualNetwork(Of ParentT)

类型参数

ParentT

附加此定义后要返回到的容器服务定义的阶段。

实现

方法

Attach()

容器服务代理池定义的完整定义作为父定义的一部分。

(继承自 IInDefinition<ParentT>)
WithAgentPoolMode(AgentPoolMode)

将代理池类型设置为代理池中的每个虚拟机。

(继承自 IWithAgentPoolMode<ParentT>)
WithAgentPoolModeName(String)

按类型名称设置代理池类型。

(继承自 IWithAgentPoolMode<ParentT>)
WithAgentPoolType(AgentPoolType)

将代理池类型设置为代理池中的每个虚拟机。

(继承自 IWithAgentPoolType<ParentT>)
WithAgentPoolTypeName(String)

按类型名称设置代理池类型。

(继承自 IWithAgentPoolType<ParentT>)
WithAgentPoolVirtualMachineCount(Int32)

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

(继承自 IWithAgentPoolVirtualMachineCount<ParentT>)
WithMaxPodsCount(Int32)

指定可在节点上运行的 Pod 的最大数目。

(继承自 IWithMaxPodsCount<ParentT>)
WithOSDiskSizeInGB(Int32)

要用于代理池中每个虚拟机的 OS 磁盘大小(以 GB 为单位)。

(继承自 IWithOSDiskSize<ParentT>)
WithOSType(OSType)

要用于代理池中每个虚拟机的 OS 类型。 默认值为 Linux。

(继承自 IWithOSType<ParentT>)
WithVirtualMachineSize(ContainerServiceVMSizeTypes)

指定要用作代理的虚拟机的大小。

(继承自 IBlank<ParentT>)
WithVirtualNetwork(String, String)

指定要用于代理的虚拟网络。

(继承自 IWithVirtualNetwork<ParentT>)

适用于