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

IUpdate 接口

定义

作为负载均衡器更新的一部分的整个负载均衡规则更新。

public interface IUpdate : Microsoft.Azure.Management.Network.Fluent.HasBackendPort.Update.IWithBackendPort<Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Update.IUpdate>, Microsoft.Azure.Management.Network.Fluent.HasFloatingIP.Update.IWithFloatingIP<Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Update.IUpdate>, Microsoft.Azure.Management.Network.Fluent.HasFrontend.Update.IWithFrontend<Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Update.IUpdate>, Microsoft.Azure.Management.Network.Fluent.HasFrontendPort.Update.IWithFrontendPort<Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Update.IUpdate>, Microsoft.Azure.Management.Network.Fluent.HasProtocol.Update.IWithProtocol<Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Update.IUpdate,Microsoft.Azure.Management.Network.Fluent.Models.TransportProtocol>, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Update.IWithBackendPort, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Update.IWithFloatingIP, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Update.IWithFrontend, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Update.IWithFrontendPort, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Update.IWithIdleTimeoutInMinutes, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Update.IWithLoadDistribution, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Update.IWithOutboundSnat, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Update.IWithProbe, Microsoft.Azure.Management.Network.Fluent.LoadBalancingRule.Update.IWithProtocol, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResourceActions.ISettable<Microsoft.Azure.Management.Network.Fluent.LoadBalancer.Update.IUpdate>
type IUpdate = interface
    interface ISettable<IUpdate>
    interface IWithFrontendPort
    interface IWithFrontendPort<IUpdate>
    interface IWithFrontend
    interface IWithFrontend<IUpdate>
    interface IWithProtocol
    interface IWithProtocol<IUpdate, TransportProtocol>
    interface IWithBackendPort
    interface IWithBackendPort<IUpdate>
    interface IWithFloatingIP
    interface IWithFloatingIP<IUpdate>
    interface IWithIdleTimeoutInMinutes
    interface IWithLoadDistribution
    interface IWithProbe
    interface IWithOutboundSnat
Public Interface IUpdate
Implements ISettable(Of IUpdate), IWithBackendPort, IWithBackendPort(Of IUpdate), IWithFloatingIP, IWithFloatingIP(Of IUpdate), IWithFrontend, IWithFrontend(Of IUpdate), IWithFrontendPort, IWithFrontendPort(Of IUpdate), IWithIdleTimeoutInMinutes, IWithLoadDistribution, IWithOutboundSnat, IWithProbe, IWithProtocol, IWithProtocol(Of IUpdate, TransportProtocol)
实现

方法

FromFrontend(String)

指定前端。

(继承自 IWithFrontend<ReturnT>)
FromFrontendPort(Int32)

指定要接收网络流量的前端端口。

(继承自 IWithFrontendPort<ReturnT>)
Parent()

作为负载均衡器更新的一部分的整个负载均衡规则更新。

(继承自 ISettable<ParentT>)
ToBackendPort(Int32)

指定要向其发送网络流量的后端端口。

(继承自 IWithBackendPort<ReturnT>)
WithDisableOutboundSnat(Boolean)

为后端池中的 VM 配置 SNAT,以使用负载均衡规则前端中指定的 publicIP 地址。

(继承自 IWithOutboundSnat)
WithFloatingIP(Boolean)

设置浮动 IP 启用。

(继承自 IWithFloatingIP<ReturnT>)
WithFloatingIPDisabled()

禁用浮动 IP 支持。

(继承自 IWithFloatingIP<ReturnT>)
WithFloatingIPEnabled()

启用浮动 IP 支持。

(继承自 IWithFloatingIP<ReturnT>)
WithIdleTimeoutInMinutes(Int32)

指定空闲连接关闭前的分钟数。

(继承自 IWithIdleTimeoutInMinutes)
WithLoadDistribution(LoadDistribution)

指定负载分配模式。

(继承自 IWithLoadDistribution)
WithoutProbe()

删除与探测的任何关联,并回退到 Azure 的默认探测机制。

(继承自 IWithProbe)
WithProbe(String)

将此负载均衡器的指定现有 HTTP 或 TCP 探测与负载均衡规则相关联。

(继承自 IWithProbe)
WithProtocol(ProtocolT)

指定传输协议。

(继承自 IWithProtocol<ReturnT,ProtocolT>)

适用于