PrimaryBackupPolicy
import type { PrimaryBackupPolicy } from "https://googleapis.deno.dev/v1/domains:v1.ts";
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.
interface PrimaryBackupPolicy {
backupGeoTargets?: GeoPolicy;
primaryTargets?: HealthCheckTargets;
trickleTraffic?: number;
}§Properties
§
primaryTargets?: HealthCheckTargets
[src]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
.