LoadBalancerPoolLoadSheddingArgs

data class LoadBalancerPoolLoadSheddingArgs(val defaultPercent: Output<Double>? = null, val defaultPolicy: Output<String>? = null, val sessionPercent: Output<Double>? = null, val sessionPolicy: Output<String>? = null) : ConvertibleToJava<LoadBalancerPoolLoadSheddingArgs>

Constructors

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

Properties

Link copied to clipboard
val defaultPercent: Output<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: Output<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: Output<Double>? = null

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

Link copied to clipboard
val sessionPolicy: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): LoadBalancerPoolLoadSheddingArgs