Share via


ArmDataMigrationModelFactory.ConnectToSourceMySqlTaskProperties Method

Definition

Initializes a new instance of ConnectToSourceMySqlTaskProperties.

public static Azure.ResourceManager.DataMigration.Models.ConnectToSourceMySqlTaskProperties ConnectToSourceMySqlTaskProperties (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.ConnectToSourceMySqlTaskInput input = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.ConnectToSourceNonSqlTaskOutput> output = default);
static member ConnectToSourceMySqlTaskProperties : 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.ConnectToSourceMySqlTaskInput * seq<Azure.ResourceManager.DataMigration.Models.ConnectToSourceNonSqlTaskOutput> -> Azure.ResourceManager.DataMigration.Models.ConnectToSourceMySqlTaskProperties
Public Shared Function ConnectToSourceMySqlTaskProperties (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 ConnectToSourceMySqlTaskInput = Nothing, Optional output As IEnumerable(Of ConnectToSourceNonSqlTaskOutput) = Nothing) As ConnectToSourceMySqlTaskProperties

Parameters

errors
IEnumerable<ODataError>

Array of errors. This is ignored if submitted.

state
Nullable<TaskState>

The state of the task. This is ignored if submitted.

commands
IEnumerable<CommandProperties>

Array of command properties. Please note CommandProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MigrateMISyncCompleteCommandProperties, MigrateSyncCompleteCommandProperties, MongoDBCancelCommand, MongoDBFinishCommand and MongoDBRestartCommand.

clientData
IDictionary<String,String>

Key value pairs of client data to attach meta data information to task.

input
ConnectToSourceMySqlTaskInput

Task input.

output
IEnumerable<ConnectToSourceNonSqlTaskOutput>

Task output. This is ignored if submitted.

Returns

A new ConnectToSourceMySqlTaskProperties instance for mocking.

Applies to