LoadBalancerPoolLoadShedding

data class LoadBalancerPoolLoadShedding(val defaultPercent: Double? = null, val defaultPolicy: String? = null, val sessionPercent: Double? = null, val sessionPolicy: String? = null)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val defaultPercent: Double? = null

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
val defaultPolicy: String? = null

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
val sessionPercent: Double? = null

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

Link copied to clipboard
val sessionPolicy: String? = null

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