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()
Gets the number of minutes before an inactive connection is closed. |
abstract
Load |
loadDistribution()
Gets the method of load distribution. |
abstract
Load |
probe()
Gets the probe associated with the load balancing rule. |
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()
Gets the number of minutes before an inactive connection is closed.
Returns:
loadDistribution
public abstract LoadDistribution loadDistribution()
Gets the method of load distribution.
Returns:
probe
public abstract LoadBalancerProbe probe()
Gets the probe associated with the load balancing rule.
Returns:
Applies to
Azure SDK for Java