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

MongoClusterPromoteOption Struct

Definition

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.

Applies to