RRSetRoutingPolicyGeoPolicyArgs

data class RRSetRoutingPolicyGeoPolicyArgs(val enableFencing: Output<Boolean>? = null, val items: Output<List<RRSetRoutingPolicyGeoPolicyGeoPolicyItemArgs>>? = null, val kind: Output<String>? = null) : ConvertibleToJava<RRSetRoutingPolicyGeoPolicyArgs>

Configures a RRSetRoutingPolicy that routes based on the geo location of the querying user.

Constructors

Link copied to clipboard
fun RRSetRoutingPolicyGeoPolicyArgs(enableFencing: Output<Boolean>? = null, items: Output<List<RRSetRoutingPolicyGeoPolicyGeoPolicyItemArgs>>? = null, kind: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val enableFencing: Output<Boolean>? = null

Without fencing, if health check fails for all configured items in the current geo bucket, we'll failover to the next nearest geo bucket. With fencing, if health check is enabled, as long as some targets in the current geo bucket are healthy, we'll return only the healthy targets. However, if they're all unhealthy, we won't failover to the next nearest bucket, we'll simply return all the items in the current bucket even though they're unhealthy.

Link copied to clipboard

The primary geo routing configuration. If there are multiple items with the same location, an error is returned instead.

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