LoadBalancerRuleOverrideLocationStrategyArgs

data class LoadBalancerRuleOverrideLocationStrategyArgs(val mode: Output<String>? = null, val preferEcs: Output<String>? = null) : ConvertibleToJava<LoadBalancerRuleOverrideLocationStrategyArgs>

Constructors

constructor(mode: Output<String>? = null, preferEcs: Output<String>? = null)

Properties

Link copied to clipboard
val mode: Output<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.

Link copied to clipboard
val preferEcs: Output<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.

Functions

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