WrrPolicyItem
import type { WrrPolicyItem } from "https://googleapis.deno.dev/v1/domains:v1.ts";
A routing block which contains the routing information for one WRR item.
§Properties
Endpoints that are health checked before making the routing decision. The
unhealthy endpoints are omitted from the result. If all endpoints within a
bucket are unhealthy, we choose a different bucket (sampled with respect to
its weight) for responding. If DNSSEC is enabled for this zone, only one of
rrdata
or health_checked_targets
can be set.
DNSSEC generated signatures for all the rrdata
within this item. When
using health-checked targets for DNSSEC-enabled zones, you can only use at
most one health-checked IP address per item.
The weight corresponding to this WrrPolicyItem
object. When multiple
WrrPolicyItem
objects are configured, the probability of returning an
WrrPolicyItem
object's data is proportional to its weight relative to the
sum of weights configured for all items. This weight must be non-negative.