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

IWithLoadBalancer.WithExistingLoadBalancerInboundNatRule 方法

定义

将网络接口的主 IP 配置与现有负载均衡器的入站 NAT 规则相关联。

public Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithCreate WithExistingLoadBalancerInboundNatRule (Microsoft.Azure.Management.Network.Fluent.ILoadBalancer loadBalancer, string inboundNatRuleName);
abstract member WithExistingLoadBalancerInboundNatRule : Microsoft.Azure.Management.Network.Fluent.ILoadBalancer * string -> Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithCreate
Public Function WithExistingLoadBalancerInboundNatRule (loadBalancer As ILoadBalancer, inboundNatRuleName As String) As IWithCreate

参数

loadBalancer
ILoadBalancer

现有负载均衡器。

inboundNatRuleName
String

所选负载均衡器上现有入站 NAT 规则的名称。

返回

适用于