LoadBalancerRuleOverrideLocationStrategy

data class LoadBalancerRuleOverrideLocationStrategy(val mode: String? = null, val preferEcs: String? = null)

Constructors

Link copied to clipboard
constructor(mode: String? = null, preferEcs: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val mode: String? = null

Determines the authoritative location when ECS is not preferred, does not exist in the request, or its GeoIP lookup is unsuccessful. Value pop will use the Cloudflare PoP location. Value resolver_ip will use the DNS resolver GeoIP location. If the GeoIP lookup is unsuccessful, it will use the Cloudflare PoP location. Available values: pop, resolver_ip. Defaults to pop.

Link copied to clipboard
val preferEcs: String? = null

Whether the EDNS Client Subnet (ECS) GeoIP should be preferred as the authoritative location. Value always will always prefer ECS, never will never prefer ECS, proximity will prefer ECS only when steering_policy="proximity", and geo will prefer ECS only when steering_policy="geo". Available values: always, never, proximity, geo. Defaults to proximity.