NetworkInterface.DefinitionStages.WithLoadBalancer Interface
public interface WithLoadBalancer
The stage of the network interface definition allowing to associate it with a load balancer.
Method Summary
Modifier and Type | Method and Description |
---|---|
Network |
withExistingLoadBalancerBackend(LoadBalancer loadBalancer, String backendName)
Associates the network interface's primary IP configuration with a backend of an existing load balancer. |
Network |
withExistingLoadBalancerInboundNatRule(LoadBalancer loadBalancer, String inboundNatRuleName)
Associates the network interface's primary IP configuration with an inbound NAT rule of an existing load balancer. |
Method Details
withExistingLoadBalancerBackend
public WithCreate withExistingLoadBalancerBackend(LoadBalancer loadBalancer, String backendName)
Associates the network interface's primary IP configuration with a backend of an existing load balancer.
Parameters:
Returns:
withExistingLoadBalancerInboundNatRule
public WithCreate withExistingLoadBalancerInboundNatRule(LoadBalancer loadBalancer, String inboundNatRuleName)
Associates the network interface's primary IP configuration with an inbound NAT rule of an existing load balancer.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for