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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET