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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET