ArmMongoClusterModelFactory.PromoteReplicaContent Method
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.
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.
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET