Network Services V1 API - Class Google::Cloud::NetworkServices::V1::ServiceLbPolicy::FailoverConfig (v2.3.0)

Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::ServiceLbPolicy::FailoverConfig.

Option to specify health based failover behavior. This is not related to Network load balancer FailoverPolicy.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#failover_health_threshold

def failover_health_threshold() -> ::Integer
Returns
  • (::Integer) — Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others.

#failover_health_threshold=

def failover_health_threshold=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others.
Returns
  • (::Integer) — Optional. The percentage threshold that a load balancer will begin to send traffic to failover backends. If the percentage of endpoints in a MIG/NEG is smaller than this value, traffic would be sent to failover backends if possible. This field should be set to a value between 1 and 99. The default value is 50 for Global external HTTP(S) load balancer (classic) and Proxyless service mesh, and 70 for others.