Share via


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

IDefinition<ParentT> 接口

定义

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

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

类型参数

ParentT

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

实现

方法

Attach()

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

(继承自 IInDefinition<ParentT>)
WithDnsPrefix(String)

指定要在代理池的 FQDN 中使用的 DNS 前缀。

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

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

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

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

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

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

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

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

(继承自 IWithStorageProfile<ParentT>)
WithVirtualMachineCount(Int32)

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

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

指定代理虚拟机的大小。

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

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

(继承自 IWithVirtualNetwork<ParentT>)

适用于