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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET