Class: Google::Cloud::NetworkServices::V1::ServiceLbPolicy::FailoverConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/networkservices/v1/service_lb_policy.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#failover_health_threshold::Integer

Returns 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.



86
87
88
89
# File 'proto_docs/google/cloud/networkservices/v1/service_lb_policy.rb', line 86

class FailoverConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end