Compartilhar via


MongoClusterPromoteMode Struct

Definition

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

MongoClusterPromoteMode(String)

Initializes a new instance of MongoClusterPromoteMode.

Properties

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

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

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.

Applies to