Share via


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

IWithAttach<ParentT> 接口

定义

容器服务代理池定义的最后一个阶段。 在此阶段,可以指定任何剩余的可选设置,也可以将容器服务代理池附加到父容器服务定义。

public interface IWithAttach<ParentT> : Microsoft.Azure.Management.ContainerService.Fluent.ContainerServiceAgentPool.Definition.IWithOSDiskSize<ParentT>, Microsoft.Azure.Management.ContainerService.Fluent.ContainerServiceAgentPool.Definition.IWithOSType<ParentT>, Microsoft.Azure.Management.ContainerService.Fluent.ContainerServiceAgentPool.Definition.IWithPorts<ParentT>, Microsoft.Azure.Management.ContainerService.Fluent.ContainerServiceAgentPool.Definition.IWithStorageProfile<ParentT>, Microsoft.Azure.Management.ContainerService.Fluent.ContainerServiceAgentPool.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 IWithPorts<'ParentT>
    interface IWithStorageProfile<'ParentT>
    interface IWithVirtualNetwork<'ParentT>
    interface IBeta
    interface IInDefinition<'ParentT>
Public Interface IWithAttach(Of ParentT)
Implements IBeta, IInDefinition(Of ParentT), IWithOSDiskSize(Of ParentT), IWithOSType(Of ParentT), IWithPorts(Of ParentT), IWithStorageProfile(Of ParentT), IWithVirtualNetwork(Of ParentT)

类型参数

ParentT

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

派生
实现

方法

Attach()

容器服务代理池定义的最后一个阶段。 在此阶段,可以指定任何剩余的可选设置,也可以将容器服务代理池附加到父容器服务定义。

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

要用于代理池中每台计算机的 OS 磁盘大小(以 GB 为单位)。

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

要用于代理池中每台计算机的 OS 类型。 默认值为 Linux。

(继承自 IWithOSType<ParentT>)
WithPorts(Int32[])

要在此代理池上公开的端口。 默认公开的端口因所选的业务流程协调程序而异。

(继承自 IWithPorts<ParentT>)
WithStorageProfile(ContainerServiceStorageProfileTypes)

指定要用于代理池中每个虚拟机的存储类型。

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

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

(继承自 IWithVirtualNetwork<ParentT>)

适用于