Share via


KnownFailoverMode enum

Known values of FailoverMode that the service accepts.

Fields

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.

ForcedSwitchover

Kills the primary database process and then triggers a switch over with role swapping.

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.

PlannedSwitchover

Similar to 'PlannedFailover' but prefers a switch over operation where roles are swapped between primary and standby.