ArmDataMigrationModelFactory.DataMigrationMongoDBShardKeyInfo 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 DataMigrationMongoDBShardKeyInfo.
public static Azure.ResourceManager.DataMigration.Models.DataMigrationMongoDBShardKeyInfo DataMigrationMongoDBShardKeyInfo(System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.DataMigrationMongoDBShardKeyField> fields = default, bool isUnique = false);
static member DataMigrationMongoDBShardKeyInfo : seq<Azure.ResourceManager.DataMigration.Models.DataMigrationMongoDBShardKeyField> * bool -> Azure.ResourceManager.DataMigration.Models.DataMigrationMongoDBShardKeyInfo
Public Shared Function DataMigrationMongoDBShardKeyInfo (Optional fields As IEnumerable(Of DataMigrationMongoDBShardKeyField) = Nothing, Optional isUnique As Boolean = false) As DataMigrationMongoDBShardKeyInfo
Parameters
The fields within the shard key.
- isUnique
- Boolean
Whether the shard key is unique.
Returns
A new DataMigrationMongoDBShardKeyInfo instance for mocking.