ArmDataMigrationModelFactory.MongoDBShardKeyInfo 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 MongoDBShardKeyInfo.
public static Azure.ResourceManager.DataMigration.Models.MongoDBShardKeyInfo MongoDBShardKeyInfo (System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.MongoDBShardKeyField> fields = default, bool isUnique = false);
static member MongoDBShardKeyInfo : seq<Azure.ResourceManager.DataMigration.Models.MongoDBShardKeyField> * bool -> Azure.ResourceManager.DataMigration.Models.MongoDBShardKeyInfo
Public Shared Function MongoDBShardKeyInfo (Optional fields As IEnumerable(Of MongoDBShardKeyField) = Nothing, Optional isUnique As Boolean = false) As MongoDBShardKeyInfo
Parameters
- fields
- IEnumerable<MongoDBShardKeyField>
The fields within the shard key.
- isUnique
- Boolean
Whether the shard key is unique.
Returns
A new MongoDBShardKeyInfo instance for mocking.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET