LoadBalancingRule Interface
Implements
public interface LoadBalancingRule
extends HasInnerModel<LoadBalancingRuleInner>, ChildResource<LoadBalancer>, HasBackendPort, HasFrontend, HasFloatingIP, HasProtocol<TransportProtocol>, HasFrontendPort
A client-side representation of an HTTP load balancing rule.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Load |
backend()
Gets the backend associated with the load balancing rule. |
abstract
List<Load |
backends()
Gets the list of backends associated with the load balancing rule. |
abstract int | idleTimeoutInMinutes() |
abstract
Load |
loadDistribution() |
abstract
Load |
probe() |
Method Details
backend
public abstract LoadBalancerBackend backend()
Gets the backend associated with the load balancing rule.
If there are multiple backends associated with the rule, this API only returns the first backend. Use backends() for the case of multiple backends associated with the rule.
Returns:
backends
public abstract List
Gets the list of backends associated with the load balancing rule.
Returns:
idleTimeoutInMinutes
public abstract int idleTimeoutInMinutes()
Returns:
loadDistribution
public abstract LoadDistribution loadDistribution()
Returns:
probe
public abstract LoadBalancerProbe probe()
Returns:
Applies to
Azure SDK for Java