Compartilhar via


ArmDataMigrationModelFactory.MongoDBShardKeyInfo Método

Definição

Inicializa uma nova instância do 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

Parâmetros

fields
IEnumerable<MongoDBShardKeyField>

Os campos dentro da chave de fragmento.

isUnique
Boolean

Se a chave de fragmento é exclusiva.

Retornos

Uma nova MongoDBShardKeyInfo instância para simulação.

Aplica-se a