Package com.ibm.cloud.is.vpc.v1.model
Class LoadBalancerPoolFailsafePolicy
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
LoadBalancerPoolFailsafePolicy.Action
A load balancer failsafe policy action: - `bypass`: Bypasses the members and sends requests directly to their destination IPs.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAction()
Gets the action.Long
getHealthyMemberThresholdCount()
Gets the healthyMemberThresholdCount.LoadBalancerPoolReference
getTarget()
Gets the target.
-
-
-
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
-
-