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

IUpdateDefinition<ParentT> 接口

定义

作为负载均衡器更新的一部分的整个负载均衡器后端定义。

public interface IUpdateDefinition<ParentT> : Microsoft.Azure.Management.Network.Fluent.LoadBalancerBackend.UpdateDefinition.IBlank<ParentT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancerBackend.UpdateDefinition.IWithAttach<ParentT>, Microsoft.Azure.Management.Network.Fluent.LoadBalancerBackend.UpdateDefinition.IWithVirtualMachine<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Update.IInUpdate<ParentT>
type IUpdateDefinition<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithAttach<'ParentT>
    interface IInUpdate<'ParentT>
    interface IWithVirtualMachine<'ParentT>
Public Interface IUpdateDefinition(Of ParentT)
Implements IBlank(Of ParentT), IInUpdate(Of ParentT), IWithAttach(Of ParentT), IWithVirtualMachine(Of ParentT)

类型参数

ParentT

附加此定义后要返回到的父定义的阶段。

实现

方法

Attach()

作为负载均衡器更新的一部分的整个负载均衡器后端定义。

(继承自 IInUpdate<ParentT>)
WithExistingVirtualMachines(ICollection<IHasNetworkInterfaces>)

将指定的虚拟机集(假设它们来自同一可用性集)添加到此后端地址池。 这将添加对提供的一组虚拟机的主网络接口的主 IP 配置的引用。 如果虚拟机不在同一可用性集中,它们将不会与此后端关联。 只有这些虚拟机才会与已有网络接口的负载均衡器相关联。 将跳过没有网络接口的虚拟机。

(继承自 IWithVirtualMachine<ReturnT>)
WithExistingVirtualMachines(IHasNetworkInterfaces[])

将指定的虚拟机集(假设它们来自同一可用性集)添加到此后端地址池。 这将添加对提供的一组虚拟机的主网络接口的主 IP 配置的引用。 如果虚拟机不在同一可用性集中,它们将不会与此后端关联。 只有这些虚拟机才会与已有网络接口的负载均衡器相关联。 将跳过没有网络接口的虚拟机。

(继承自 IWithVirtualMachine<ReturnT>)

适用于