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()
      Returns:
      the method of load distribution
    • idleTimeoutInMinutes

      int idleTimeoutInMinutes()
      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

      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