consistentHash property

ConsistentHashLoadBalancerSettings? consistentHash
getter/setter pair

Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties.

This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or RING_HASH. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED.

Implementation

ConsistentHashLoadBalancerSettings? consistentHash;