GetLoadBalancerPlainArgs

data class GetLoadBalancerPlainArgs(val countryPools: Map<String, List<String>>? = null, val loadBalancerId: String? = null, val popPools: Map<String, List<String>>? = null, val regionPools: Map<String, List<String>>? = null, val sessionAffinityTtl: Double? = null, val steeringPolicy: String? = null, val ttl: Double? = null, val zoneId: String) : ConvertibleToJava<GetLoadBalancerPlainArgs>

A collection of arguments for invoking getLoadBalancer.

Constructors

Link copied to clipboard
constructor(countryPools: Map<String, List<String>>? = null, loadBalancerId: String? = null, popPools: Map<String, List<String>>? = null, regionPools: Map<String, List<String>>? = null, sessionAffinityTtl: Double? = null, steeringPolicy: String? = null, ttl: Double? = null, zoneId: String)

Properties

Link copied to clipboard

A mapping of country codes to a list of pool IDs (ordered by their failover priority) for the given country. Any country not explicitly defined will fall back to using the corresponding regionpool mapping if it exists else to defaultpools.

Link copied to clipboard
val loadBalancerId: String? = null
Link copied to clipboard
val popPools: Map<String, List<String>>? = null

(Enterprise only): A mapping of Cloudflare PoP identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). Any PoPs not explicitly defined will fall back to using the corresponding countrypool, then regionpool mapping if it exists else to default_pools.

Link copied to clipboard
val regionPools: Map<String, List<String>>? = null

A mapping of region codes to a list of pool IDs (ordered by their failover priority) for the given region. Any regions not explicitly defined will fall back to using default_pools.

Link copied to clipboard

Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per session_affinity policy are:

Link copied to clipboard
val steeringPolicy: String? = null

Steering Policy for this load balancer.

Link copied to clipboard
val ttl: Double? = null

Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers.

Link copied to clipboard

Functions

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