NetworkInterface.UpdateStages.WithLoadBalancer Interface
public static interface NetworkInterface.UpdateStages.WithLoadBalancer
The stage of the network interface update allowing to associate it with a load balancer.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withExistingLoadBalancerBackend(LoadBalancer loadBalancer, String backendName)
Associates the network interface's primary IP configuration with a backend of an existing load balancer. |
abstract Update |
withExistingLoadBalancerInboundNatRule(LoadBalancer loadBalancer, String inboundNatRuleName)
Associates the network interface's primary IP configuration with an inbound NAT rule of an existing load balancer. |
abstract Update |
withoutLoadBalancerBackends()
Removes all the existing associations with any load balancer backends. |
abstract Update |
withoutLoadBalancerInboundNatRules()
Removes all the existing associations with any load balancer inbound NAT rules. |
Method Details
withExistingLoadBalancerBackend
public abstract NetworkInterface.Update 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 abstract NetworkInterface.Update 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:
withoutLoadBalancerBackends
public abstract NetworkInterface.Update withoutLoadBalancerBackends()
Removes all the existing associations with any load balancer backends.
Returns:
withoutLoadBalancerInboundNatRules
public abstract NetworkInterface.Update withoutLoadBalancerInboundNatRules()
Removes all the existing associations with any load balancer inbound NAT rules.
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