Compartilhar via


ArmDataMigrationModelFactory.ConnectToMongoDBTaskProperties Método

Definição

Inicializa uma nova instância de ConnectToMongoDBTaskProperties.

public static Azure.ResourceManager.DataMigration.Models.ConnectToMongoDBTaskProperties ConnectToMongoDBTaskProperties (System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.ODataError> errors = default, Azure.ResourceManager.DataMigration.Models.TaskState? state = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.CommandProperties> commands = default, System.Collections.Generic.IDictionary<string,string> clientData = default, Azure.ResourceManager.DataMigration.Models.MongoDBConnectionInfo input = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.MongoDBClusterInfo> output = default);
static member ConnectToMongoDBTaskProperties : seq<Azure.ResourceManager.DataMigration.Models.ODataError> * Nullable<Azure.ResourceManager.DataMigration.Models.TaskState> * seq<Azure.ResourceManager.DataMigration.Models.CommandProperties> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.DataMigration.Models.MongoDBConnectionInfo * seq<Azure.ResourceManager.DataMigration.Models.MongoDBClusterInfo> -> Azure.ResourceManager.DataMigration.Models.ConnectToMongoDBTaskProperties
Public Shared Function ConnectToMongoDBTaskProperties (Optional errors As IEnumerable(Of ODataError) = Nothing, Optional state As Nullable(Of TaskState) = Nothing, Optional commands As IEnumerable(Of CommandProperties) = Nothing, Optional clientData As IDictionary(Of String, String) = Nothing, Optional input As MongoDBConnectionInfo = Nothing, Optional output As IEnumerable(Of MongoDBClusterInfo) = Nothing) As ConnectToMongoDBTaskProperties

Parâmetros

errors
IEnumerable<ODataError>

Matriz de erros. Isso será ignorado se enviado.

state
Nullable<TaskState>

O estado da tarefa. Isso será ignorado se enviado.

clientData
IDictionary<String,String>

Pares chave-valor de dados do cliente para anexar informações de metadados à tarefa.

input
MongoDBConnectionInfo

Descreve uma conexão com uma fonte de dados do MongoDB.

output
IEnumerable<MongoDBClusterInfo>

Uma matriz que contém um único objeto MongoDbClusterInfo.

Retornos

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

Aplica-se a