共用方式為


IWithLoadBalancer<ParentT>.WithExistingLoadBalancerInboundNatRule Method

Definition

Specifies the load balancer inbound NAT rule to associate this IP configuration with.

public Microsoft.Azure.Management.Network.Fluent.NicIPConfiguration.Definition.IWithAttach<ParentT> 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.NicIPConfiguration.Definition.IWithAttach<'ParentT>
Public Function WithExistingLoadBalancerInboundNatRule (loadBalancer As ILoadBalancer, inboundNatRuleName As String) As IWithAttach(Of ParentT)

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