GoogleApi.NetworkServices.V1.Model.ServiceLbPolicyAutoCapacityDrain (google_api_network_services v0.11.0)

View Source

Option to specify if an unhealthy IG/NEG should be considered for global load balancing and traffic routing.

Attributes

  • enable (type: boolean(), default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.NetworkServices.V1.Model.ServiceLbPolicyAutoCapacityDrain{
  enable: boolean() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.