View Source GoogleApi.DNS.V1.Model.RRSetRoutingPolicyPrimaryBackupPolicy (google_api_dns v0.29.0)

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.

Attributes

  • backupGeoTargets (type: GoogleApi.DNS.V1.Model.RRSetRoutingPolicyGeoPolicy.t, default: nil) - 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.
  • kind (type: String.t, default: dns#rRSetRoutingPolicyPrimaryBackupPolicy) -
  • primaryTargets (type: GoogleApi.DNS.V1.Model.RRSetRoutingPolicyHealthCheckTargets.t, default: nil) - Endpoints that are health checked before making the routing decision. Unhealthy endpoints are omitted from the results. If all endpoints are unhealthy, we serve a response based on the backup_geo_targets.
  • trickleTraffic (type: float(), default: nil) - When serving state is PRIMARY, this field provides the option of sending a small percentage of the traffic to the backup targets.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DNS.V1.Model.RRSetRoutingPolicyPrimaryBackupPolicy{
  backupGeoTargets:
    GoogleApi.DNS.V1.Model.RRSetRoutingPolicyGeoPolicy.t() | nil,
  kind: String.t() | nil,
  primaryTargets:
    GoogleApi.DNS.V1.Model.RRSetRoutingPolicyHealthCheckTargets.t() | nil,
  trickleTraffic: float() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.