Class LoadBalancerPoolPatch

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

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

      • algorithm

        public String algorithm()
        Gets the algorithm. The load balancing algorithm. The `least_connections` algorithm is only supported for load balancers that have `availability` with value `subnet` in the profile.
        Returns:
        the algorithm
      • failsafePolicy

        public LoadBalancerPoolFailsafePolicyPatch failsafePolicy()
        Gets the failsafePolicy. The failsafe policy for this load balancer pool.
        Returns:
        the failsafePolicy
      • healthMonitor

        public LoadBalancerPoolHealthMonitorPatch healthMonitor()
        Gets the healthMonitor. The health monitor of this pool. If this pool has a member targeting a load balancer then: - If the targeted load balancer has multiple subnets, this health monitor will be used to direct traffic to the available subnets. - The health checks spawned by this health monitor will be handled as any other traffic (that is, subject to the configuration of listeners and pools on the target load balancer). - This health monitor does not affect how pool member health is determined within the target load balancer. For more information, see [Private Path network load balancer frequently asked questions](https://cloud.ibm.com/docs/vpc?topic=vpc-nlb-faqs#ppnlb-faqs).
        Returns:
        the healthMonitor
      • name

        public String name()
        Gets the name. The name for this load balancer pool. The name must not be used by another pool for the load balancer.
        Returns:
        the name
      • protocol

        public String protocol()
        Gets the protocol. The protocol for this load balancer pool. Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the `application` family support `tcp`, `http` and `https`. If this pool is associated with a load balancer listener or a load balancer failsafe target pool, the specified protocol must match or be compatible with each other's protocol. At present, the compatible protocols are `http` and `https`.
        Returns:
        the protocol
      • proxyProtocol

        public String proxyProtocol()
        Gets the proxyProtocol. The PROXY protocol setting for this pool: - `v1`: Enabled with version 1 (human-readable header format) - `v2`: Enabled with version 2 (binary header format) - `disabled`: Disabled For load balancers in the `network` family, this property must be `disabled`.
        Returns:
        the proxyProtocol
      • asPatch

        public Map<String,​Object> asPatch()
        Construct a JSON merge-patch from the LoadBalancerPoolPatch. Note that properties of the LoadBalancerPoolPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.
        Returns:
        a JSON merge-patch for the LoadBalancerPoolPatch