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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET