Enum BackendServiceConnectionTrackingPolicy.ConnectionPersistenceOnUnhealthyBackends (1.39.0)

public enum BackendServiceConnectionTrackingPolicy.ConnectionPersistenceOnUnhealthyBackends extends Enum<BackendServiceConnectionTrackingPolicy.ConnectionPersistenceOnUnhealthyBackends> implements ProtocolMessageEnum

Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see Connection Persistence for Network Load Balancing and Connection Persistence for Internal TCP/UDP Load Balancing.

Protobuf enum google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy.ConnectionPersistenceOnUnhealthyBackends

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ALWAYS_PERSIST

ALWAYS_PERSIST = 38400900;

ALWAYS_PERSIST_VALUE

ALWAYS_PERSIST = 38400900;

DEFAULT_FOR_PROTOCOL

DEFAULT_FOR_PROTOCOL = 145265356;

DEFAULT_FOR_PROTOCOL_VALUE

DEFAULT_FOR_PROTOCOL = 145265356;

NEVER_PERSIST

NEVER_PERSIST = 138646241;

NEVER_PERSIST_VALUE

NEVER_PERSIST = 138646241;

UNDEFINED_CONNECTION_PERSISTENCE_ON_UNHEALTHY_BACKENDS

A value indicating that the enum field is not set.

UNDEFINED_CONNECTION_PERSISTENCE_ON_UNHEALTHY_BACKENDS = 0;

UNDEFINED_CONNECTION_PERSISTENCE_ON_UNHEALTHY_BACKENDS_VALUE

A value indicating that the enum field is not set.

UNDEFINED_CONNECTION_PERSISTENCE_ON_UNHEALTHY_BACKENDS = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()