GetLoadBalancerPoolLoadShedding

data class GetLoadBalancerPoolLoadShedding(val defaultPercent: Double, val defaultPolicy: String, val sessionPercent: Double, val sessionPolicy: String)

Constructors

Link copied to clipboard
constructor(defaultPercent: Double, defaultPolicy: String, sessionPercent: Double, sessionPolicy: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The percent of traffic to shed from the pool, according to the default policy. Applies to new sessions and traffic without session affinity.

Link copied to clipboard

The default policy to use when load shedding. A random policy randomly sheds a given percent of requests. A hash policy computes a hash over the CF-Connecting-IP address and sheds all requests originating from a percent of IPs. Available values: "random", "hash".

Link copied to clipboard

The percent of existing sessions to shed from the pool, according to the session policy.

Link copied to clipboard

Only the hash policy is supported for existing sessions (to avoid exponential decay). Available values: "hash".