Network Services v1 API - Class ServiceLbPolicy.Types.AutoCapacityDrain (1.3.0)

public sealed class ServiceLbPolicy.Types.AutoCapacityDrain : IMessage<ServiceLbPolicy.Types.AutoCapacityDrain>, IEquatable<ServiceLbPolicy.Types.AutoCapacityDrain>, IDeepCloneable<ServiceLbPolicy.Types.AutoCapacityDrain>, IBufferMessage, IMessage

Reference documentation and code samples for the Network Services v1 API class ServiceLbPolicy.Types.AutoCapacityDrain.

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

Inheritance

object > ServiceLbPolicy.Types.AutoCapacityDrain

Namespace

Google.Cloud.NetworkServices.V1

Assembly

Google.Cloud.NetworkServices.V1.dll

Constructors

AutoCapacityDrain()

public AutoCapacityDrain()

AutoCapacityDrain(AutoCapacityDrain)

public AutoCapacityDrain(ServiceLbPolicy.Types.AutoCapacityDrain other)
Parameter
Name Description
other ServiceLbPolicyTypesAutoCapacityDrain

Properties

Enable

public bool Enable { get; set; }

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.
Property Value
Type Description
bool