MongoClusterPromoteMode 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.
The mode to apply to a promote operation.
public readonly struct MongoClusterPromoteMode : IEquatable<Azure.ResourceManager.MongoCluster.Models.MongoClusterPromoteMode>
type MongoClusterPromoteMode = struct
Public Structure MongoClusterPromoteMode
Implements IEquatable(Of MongoClusterPromoteMode)
- Inheritance
-
MongoClusterPromoteMode
- Implements
Constructors
| Name | Description |
|---|---|
| MongoClusterPromoteMode(String) |
Initializes a new instance of MongoClusterPromoteMode. |
Properties
| Name | Description |
|---|---|
| Switchover |
Promotion will switch the current replica cluster to the primary role and the original primary will be switched to a replica role, maintaining the replication link. |
Methods
| Name | Description |
|---|---|
| Equals(MongoClusterPromoteMode) |
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(MongoClusterPromoteMode, MongoClusterPromoteMode) |
Determines if two MongoClusterPromoteMode values are the same. |
| Implicit(String to MongoClusterPromoteMode) |
Converts a String to a MongoClusterPromoteMode. |
| Inequality(MongoClusterPromoteMode, MongoClusterPromoteMode) |
Determines if two MongoClusterPromoteMode values are not the same. |