你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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