Class PrimaryBackupPolicy
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.CloudDomains.v1beta1.Data
Assembly: Google.Apis.CloudDomains.v1beta1.dll
Syntax
public class PrimaryBackupPolicy : 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 GeoPolicy BackupGeoTargets { get; set; }
Property Value
Type | Description |
---|---|
GeoPolicy |
ETag
The ETag of the item.
Declaration
public virtual string ETag { 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 HealthCheckTargets PrimaryTargets { get; set; }
Property Value
Type | Description |
---|---|
HealthCheckTargets |
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? |