ArmMongoClusterModelFactory.MongoClusterReplicationProperties 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 MongoClusterReplicationProperties.
public static Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationProperties MongoClusterReplicationProperties (Azure.Core.ResourceIdentifier sourceResourceId = default, Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationRole? role = default, Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationState? replicationState = default);
static member MongoClusterReplicationProperties : Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationRole> * Nullable<Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationState> -> Azure.ResourceManager.MongoCluster.Models.MongoClusterReplicationProperties
Public Shared Function MongoClusterReplicationProperties (Optional sourceResourceId As ResourceIdentifier = Nothing, Optional role As Nullable(Of MongoClusterReplicationRole) = Nothing, Optional replicationState As Nullable(Of MongoClusterReplicationState) = Nothing) As MongoClusterReplicationProperties
Parameters
- sourceResourceId
- ResourceIdentifier
The resource id the source cluster for the replica cluster.
The replication role of the cluster.
- replicationState
- Nullable<MongoClusterReplicationState>
The replication link state of the replica cluster.
Returns
A new MongoClusterReplicationProperties 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