Class RRSetRoutingPolicyPrimaryBackupPolicy
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.
Implements
Inherited Members
Namespace: Google.Apis.Dns.v1.Data
Assembly: Google.Apis.Dns.v1.dll
Syntax
public class RRSetRoutingPolicyPrimaryBackupPolicy : IDirectResponseSchema
Properties
BackupGeoTargets
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.
Declaration
[JsonProperty("backupGeoTargets")]
public virtual RRSetRoutingPolicyGeoPolicy BackupGeoTargets { get; set; }
Property Value
Type | Description |
---|---|
RRSetRoutingPolicyGeoPolicy |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
PrimaryTargets
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
.
Declaration
[JsonProperty("primaryTargets")]
public virtual RRSetRoutingPolicyHealthCheckTargets PrimaryTargets { get; set; }
Property Value
Type | Description |
---|---|
RRSetRoutingPolicyHealthCheckTargets |
TrickleTraffic
When serving state is PRIMARY
, this field provides the option of sending a small percentage of the traffic
to the backup targets.
Declaration
[JsonProperty("trickleTraffic")]
public virtual double? TrickleTraffic { get; set; }
Property Value
Type | Description |
---|---|
double? |