FailoverMode type
Defines values for FailoverMode.
KnownFailoverMode can be used interchangeably with FailoverMode,
this enum contains the known values that the service supports.
Known values supported by the service
PlannedFailover: Triggers a failover from primary to standby without killing the primary database process first. This is a graceful failover that attempts to preserve data consistency.
ForcedFailover: Kills the primary database process first, then triggers the failover. This is more aggressive and used when the primary is unresponsive or in an unhealthy state.
PlannedSwitchover: Similar to 'PlannedFailover' but prefers a switch over operation where roles are swapped between primary and standby.
ForcedSwitchover: Kills the primary database process and then triggers a switch over with role swapping.
type FailoverMode = string