RRSetRoutingPolicyPrimaryBackupPolicyArgs

data class RRSetRoutingPolicyPrimaryBackupPolicyArgs(val backupGeoTargets: Output<RRSetRoutingPolicyGeoPolicyArgs>? = null, val kind: Output<String>? = null, val primaryTargets: Output<RRSetRoutingPolicyHealthCheckTargetsArgs>? = null, val trickleTraffic: Output<Double>? = null) : ConvertibleToJava<RRSetRoutingPolicyPrimaryBackupPolicyArgs>

Configures a RRSetRoutingPolicy such that all queries are responded with the primary_targets if they are healthy. And if all of them are unhealthy, then we fallback to a geo localized policy.

Constructors

fun RRSetRoutingPolicyPrimaryBackupPolicyArgs(backupGeoTargets: Output<RRSetRoutingPolicyGeoPolicyArgs>? = null, kind: Output<String>? = null, primaryTargets: Output<RRSetRoutingPolicyHealthCheckTargetsArgs>? = null, trickleTraffic: Output<Double>? = null)

Functions

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

Properties

Link copied to clipboard

Backup targets provide a regional failover policy for the otherwise global primary targets. If serving state is set to BACKUP, this policy essentially becomes a geo routing policy.

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

When serving state is PRIMARY, this field provides the option of sending a small percentage of the traffic to the backup targets.