NetworkInterface.DefinitionStages.WithLoadBalancer.withExistingLoadBalancerInboundNatRule(LoadBalancer loadBalancer, String inboundNatRuleName) 方法

定义

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

public WithCreate withExistingLoadBalancerInboundNatRule(LoadBalancer loadBalancer, String inboundNatRuleName)

参数

loadBalancer
LoadBalancer

an existing load balancer

inboundNatRuleName
String

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

返回

the next stage of the definition

适用于