Class: Google::Cloud::NetworkServices::V1::ServiceLbPolicy::AutoCapacityDrain

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 if an unhealthy IG/NEG should be considered for global load balancing and traffic routing.

Instance Attribute Summary collapse

Instance Attribute Details

#enable::Boolean

Returns Optional. If set to 'True', an unhealthy IG/NEG will be set as drained.

  • An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy.
  • This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service.

Returns:

  • (::Boolean)

    Optional. If set to 'True', an unhealthy IG/NEG will be set as drained.

    • An IG/NEG is considered unhealthy if less than 25% of the instances/endpoints in the IG/NEG are healthy.
    • This option will never result in draining more than 50% of the configured IGs/NEGs for the Backend Service.


71
72
73
74
# File 'proto_docs/google/cloud/networkservices/v1/service_lb_policy.rb', line 71

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