Share via


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.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

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