Udostępnij za pośrednictwem


IWithLoadBalancer.WithExistingLoadBalancerInboundNatRule Method

Definition

Associates the network interface's primary IP configuration with an inbound NAT rule of an existing load balancer.

public Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Update.IUpdate 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.Update.IUpdate
Public Function WithExistingLoadBalancerInboundNatRule (loadBalancer As ILoadBalancer, inboundNatRuleName As String) As IUpdate

Parameters

loadBalancer
ILoadBalancer

An existing load balancer.

inboundNatRuleName
String

The name of an existing inbound NAT rule on the selected load balancer.

Returns

Applies to