PostgreSqlFlexibleServerFailoverMode Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Failover mode.
public readonly struct PostgreSqlFlexibleServerFailoverMode : IEquatable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerFailoverMode>
type PostgreSqlFlexibleServerFailoverMode = struct
Public Structure PostgreSqlFlexibleServerFailoverMode
Implements IEquatable(Of PostgreSqlFlexibleServerFailoverMode)
- Inheritance
-
PostgreSqlFlexibleServerFailoverMode
- Implements
Constructors
| Name | Description |
|---|---|
| PostgreSqlFlexibleServerFailoverMode(String) |
Initializes a new instance of PostgreSqlFlexibleServerFailoverMode. |
Properties
| Name | Description |
|---|---|
| ForcedFailover |
Terminate 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 |
Terminate the primary database process first, and then triggers a switch over with role swapping. |
| PlannedFailover |
Trigger 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. |
Methods
| Name | Description |
|---|---|
| Equals(PostgreSqlFlexibleServerFailoverMode) |
Indicates whether the current object is equal to another object of the same type. |
| ToString() |
Returns the fully qualified type name of this instance. |
Operators
| Name | Description |
|---|---|
| Equality(PostgreSqlFlexibleServerFailoverMode, PostgreSqlFlexibleServerFailoverMode) |
Determines if two PostgreSqlFlexibleServerFailoverMode values are the same. |
| Implicit(String to Nullable<PostgreSqlFlexibleServerFailoverMode>) | |
| Implicit(String to PostgreSqlFlexibleServerFailoverMode) |
Converts a string to a PostgreSqlFlexibleServerFailoverMode. |
| Inequality(PostgreSqlFlexibleServerFailoverMode, PostgreSqlFlexibleServerFailoverMode) |
Determines if two PostgreSqlFlexibleServerFailoverMode values are not the same. |