failoverTarget property

bool? failoverTarget
getter/setter pair

Specifies if the replica is the failover target.

If the field is set to true the replica will be designated as a failover replica. In case the primary instance fails, the replica instance will be promoted as the new primary instance. Only one replica can be specified as failover target, and the replica has to be in different zone with the primary instance.

Implementation

core.bool? failoverTarget;