MongoClusterPromoteOption 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 option to apply to a promote operation.
public readonly struct MongoClusterPromoteOption : IEquatable<Azure.ResourceManager.MongoCluster.Models.MongoClusterPromoteOption>
type MongoClusterPromoteOption = struct
Public Structure MongoClusterPromoteOption
Implements IEquatable(Of MongoClusterPromoteOption)
- Inheritance
-
MongoClusterPromoteOption
- Implements
Constructors
MongoClusterPromoteOption(String) |
Initializes a new instance of MongoClusterPromoteOption. |
Properties
Forced |
Promote option forces the promotion without waiting for the replica to be caught up to the primary. This can result in data-loss so should only be used during disaster recovery scenarios. |
Methods
Equals(MongoClusterPromoteOption) |
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
Equality(MongoClusterPromoteOption, MongoClusterPromoteOption) |
Determines if two MongoClusterPromoteOption values are the same. |
Implicit(String to MongoClusterPromoteOption) |
Converts a string to a MongoClusterPromoteOption. |
Inequality(MongoClusterPromoteOption, MongoClusterPromoteOption) |
Determines if two MongoClusterPromoteOption values are not the same. |