ArmDataMigrationModelFactory.MongoDBClusterInfo Method

Definition

Initializes a new instance of MongoDBClusterInfo.

public static Azure.ResourceManager.DataMigration.Models.MongoDBClusterInfo MongoDBClusterInfo (System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.MongoDBDatabaseInfo> databases = default, bool supportsSharding = false, Azure.ResourceManager.DataMigration.Models.MongoDBClusterType clusterType = default, string version = default);
static member MongoDBClusterInfo : seq<Azure.ResourceManager.DataMigration.Models.MongoDBDatabaseInfo> * bool * Azure.ResourceManager.DataMigration.Models.MongoDBClusterType * string -> Azure.ResourceManager.DataMigration.Models.MongoDBClusterInfo
Public Shared Function MongoDBClusterInfo (Optional databases As IEnumerable(Of MongoDBDatabaseInfo) = Nothing, Optional supportsSharding As Boolean = false, Optional clusterType As MongoDBClusterType = Nothing, Optional version As String = Nothing) As MongoDBClusterInfo

Parameters

databases
IEnumerable<MongoDBDatabaseInfo>

A list of non-system databases in the cluster.

supportsSharding
Boolean

Whether the cluster supports sharded collections.

clusterType
MongoDBClusterType

The type of data source.

version
String

The version of the data source in the form x.y.z (e.g. 3.6.7). Not used if Type is BlobContainer.

Returns

A new MongoDBClusterInfo instance for mocking.

Applies to