你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IWithAttach<ParentT> 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
容器服务代理池定义的最后一个阶段。 在此阶段,可以指定任何剩余的可选设置,也可以将容器服务代理池附加到父容器服务定义。
public interface IWithAttach<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.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 IWithAttach<'ParentT> = interface
interface IWithOSType<'ParentT>
interface IWithOSDiskSize<'ParentT>
interface IWithAgentPoolType<'ParentT>
interface IWithAgentPoolMode<'ParentT>
interface IWithAgentPoolVirtualMachineCount<'ParentT>
interface IBeta
interface IWithMaxPodsCount<'ParentT>
interface IWithVirtualNetwork<'ParentT>
interface IInDefinition<'ParentT>
Public Interface IWithAttach(Of ParentT)
Implements IBeta, IInDefinition(Of ParentT), IWithAgentPoolMode(Of ParentT), IWithAgentPoolType(Of ParentT), IWithAgentPoolVirtualMachineCount(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>) |
WithVirtualNetwork(String, String) |
指定要用于代理的虚拟网络。 (继承自 IWithVirtualNetwork<ParentT>) |