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

IWithLBRuleOrNat 接口

定义

负载均衡器定义的阶段,允许添加负载均衡规则、入站 NAT 规则或池。

public interface IWithLBRuleOrNat : Microsoft.Azure.Management.Network.Fluent.LoadBalancer.Definition.IWithInboundNatPool, Microsoft.Azure.Management.Network.Fluent.LoadBalancer.Definition.IWithInboundNatRule, Microsoft.Azure.Management.Network.Fluent.LoadBalancer.Definition.IWithLoadBalancingRule, Microsoft.Azure.Management.Network.Fluent.LoadBalancer.Definition.IWithOutboundRule
type IWithLBRuleOrNat = interface
    interface IWithLoadBalancingRule
    interface IWithInboundNatRule
    interface IWithInboundNatPool
    interface IWithOutboundRule
Public Interface IWithLBRuleOrNat
Implements IWithInboundNatPool, IWithInboundNatRule, IWithLoadBalancingRule, IWithOutboundRule
派生
实现

方法

DefineInboundNatPool(String)

开始定义要添加到负载均衡器的新启动 NAT 池。 定义必须通过调用 LoadBalancerInboundNatPool.DefinitionStages.WithAttach.attach () 来完成。

(继承自 IWithInboundNatPool)
DefineInboundNatRule(String)

开始定义要添加到负载均衡器的新入站 NAT 规则。

(继承自 IWithInboundNatRule)
DefineLoadBalancingRule(String)

开始定义要添加到负载均衡器的新负载均衡规则。

(继承自 IWithLoadBalancingRule)
DefineOutboundRule(String)

开始定义要添加到负载均衡器的新负载均衡器出站规则。

(继承自 IWithOutboundRule)

适用于