PostgreSqlFlexibleServerReplicationRole 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.
Used to indicate role of the server in replication set.
public readonly struct PostgreSqlFlexibleServerReplicationRole : IEquatable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerReplicationRole>
type PostgreSqlFlexibleServerReplicationRole = struct
Public Structure PostgreSqlFlexibleServerReplicationRole
Implements IEquatable(Of PostgreSqlFlexibleServerReplicationRole)
- Inheritance
-
PostgreSqlFlexibleServerReplicationRole
- Implements
Constructors
| Name | Description |
|---|---|
| PostgreSqlFlexibleServerReplicationRole(String) |
Initializes a new instance of PostgreSqlFlexibleServerReplicationRole. |
Properties
| Name | Description |
|---|---|
| AsyncReplica |
Receives data asynchronously from a primary server within the same region. |
| GeoAsyncReplica |
Receives data asynchronously from a primary server in a different region for geographical redundancy. |
| None |
No replication role assigned; the server operates independently. |
| Primary |
Acts as the source server for replication to one or more replicas. |
Methods
| Name | Description |
|---|---|
| Equals(PostgreSqlFlexibleServerReplicationRole) |
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(PostgreSqlFlexibleServerReplicationRole, PostgreSqlFlexibleServerReplicationRole) |
Determines if two PostgreSqlFlexibleServerReplicationRole values are the same. |
| Implicit(String to Nullable<PostgreSqlFlexibleServerReplicationRole>) | |
| Implicit(String to PostgreSqlFlexibleServerReplicationRole) |
Converts a string to a PostgreSqlFlexibleServerReplicationRole. |
| Inequality(PostgreSqlFlexibleServerReplicationRole, PostgreSqlFlexibleServerReplicationRole) |
Determines if two PostgreSqlFlexibleServerReplicationRole values are not the same. |