public sealed class ServiceLbPolicy.Types.FailoverConfig : IMessage<ServiceLbPolicy.Types.FailoverConfig>, IEquatable<ServiceLbPolicy.Types.FailoverConfig>, IDeepCloneable<ServiceLbPolicy.Types.FailoverConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class ServiceLbPolicy.Types.FailoverConfig.
Option to specify health based failover behavior. This is not related to Network load balancer FailoverPolicy.
Implements
IMessageServiceLbPolicyTypesFailoverConfig, IEquatableServiceLbPolicyTypesFailoverConfig, IDeepCloneableServiceLbPolicyTypesFailoverConfig, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkServices.V1Assembly
Google.Cloud.NetworkServices.V1.dll
Constructors
FailoverConfig()
public FailoverConfig()
FailoverConfig(FailoverConfig)
public FailoverConfig(ServiceLbPolicy.Types.FailoverConfig other)
Parameter | |
---|---|
Name | Description |
other |
ServiceLbPolicyTypesFailoverConfig |
Properties
FailoverHealthThreshold
public int FailoverHealthThreshold { get; set; }
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.
Property Value | |
---|---|
Type | Description |
int |