Interface LoadBalancingRule

All Superinterfaces:
ChildResource<LoadBalancer>, HasBackendPort, HasFloatingIP, HasFrontend, HasFrontendPort, HasInnerModel<LoadBalancingRuleInner>, HasName, HasParent<LoadBalancer>, HasProtocol<TransportProtocol>, Indexable

A client-side representation of an HTTP load balancing rule.
  • Method Details

    • loadDistribution

      LoadDistribution loadDistribution()
      Gets the method of load distribution.
      Returns:
      the method of load distribution
    • idleTimeoutInMinutes

      int idleTimeoutInMinutes()
      Gets the number of minutes before an inactive connection is closed.
      Returns:
      the number of minutes before an inactive connection is closed
    • 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:
      the backend associated with the load balancing rule
    • probe

      Gets the probe associated with the load balancing rule.
      Returns:
      the probe associated with the load balancing rule
    • backends

      Gets the list of backends associated with the load balancing rule.
      Returns:
      the list of backends associated with the load balancing rule