Class LoadBalancerPoolFailsafePolicy

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class LoadBalancerPoolFailsafePolicy
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    LoadBalancerPoolFailsafePolicy.
    • Method Detail

      • getAction

        public String getAction()
        Gets the action. A load balancer failsafe policy action: - `bypass`: Bypasses the members and sends requests directly to their destination IPs. - `drop`: Drops requests. - `fail`: Fails requests with an HTTP `503` status code. - `forward`: Forwards requests to the `target` pool. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
        Returns:
        the action
      • getHealthyMemberThresholdCount

        public Long getHealthyMemberThresholdCount()
        Gets the healthyMemberThresholdCount. The healthy member count at which the failsafe policy action will be triggered. At present, this is always `0`, but may be modifiable in the future.
        Returns:
        the healthyMemberThresholdCount
      • getTarget

        public LoadBalancerPoolReference getTarget()
        Gets the target. If `action` is `forward`, the target pool to forward to. If `action` is not `forward`, this property will be absent. The targets supported by this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
        Returns:
        the target