ArmMongoClusterModelFactory.PromoteReplicaContent Method

Definition

Initializes a new instance of PromoteReplicaContent.

public static Azure.ResourceManager.MongoCluster.Models.PromoteReplicaContent PromoteReplicaContent (Azure.ResourceManager.MongoCluster.Models.MongoClusterPromoteOption promoteOption = default, Azure.ResourceManager.MongoCluster.Models.MongoClusterPromoteMode? mode = default);
static member PromoteReplicaContent : Azure.ResourceManager.MongoCluster.Models.MongoClusterPromoteOption * Nullable<Azure.ResourceManager.MongoCluster.Models.MongoClusterPromoteMode> -> Azure.ResourceManager.MongoCluster.Models.PromoteReplicaContent
Public Shared Function PromoteReplicaContent (Optional promoteOption As MongoClusterPromoteOption = Nothing, Optional mode As Nullable(Of MongoClusterPromoteMode) = Nothing) As PromoteReplicaContent

Parameters

promoteOption
MongoClusterPromoteOption

The promote option to apply to the operation.

mode
Nullable<MongoClusterPromoteMode>

The mode to apply to the promote operation. Value is optional and default value is 'Switchover'.

Returns

A new PromoteReplicaContent instance for mocking.

Applies to