Class DataProtectionMode (2.15.2)

DataProtectionMode(value)

Specifies different modes of operation in relation to the data retention.

Values: DATA_PROTECTION_MODE_UNSPECIFIED (0): Defaults to LIMITED_DATA_LOSS if a data protection mode is not specified. LIMITED_DATA_LOSS (1): Instance failover will be protected with data loss control. More specifically, the failover will only be performed if the current replication offset diff between primary and replica is under a certain threshold. FORCE_DATA_LOSS (2): Instance failover will be performed without data loss control.