ArmDataMigrationModelFactory.MongoDBClusterInfo 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 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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET