ArmDataMigrationModelFactory.MigratePostgreSqlAzureDBForPostgreSqlSyncTaskProperties 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 MigratePostgreSqlAzureDBForPostgreSqlSyncTaskProperties.
public static Azure.ResourceManager.DataMigration.Models.MigratePostgreSqlAzureDBForPostgreSqlSyncTaskProperties MigratePostgreSqlAzureDBForPostgreSqlSyncTaskProperties (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.MigratePostgreSqlAzureDBForPostgreSqlSyncTaskInput input = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutput> output = default, string taskId = default, string createdOn = default, bool? isCloneable = default);
static member MigratePostgreSqlAzureDBForPostgreSqlSyncTaskProperties : 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.MigratePostgreSqlAzureDBForPostgreSqlSyncTaskInput * seq<Azure.ResourceManager.DataMigration.Models.MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutput> * string * string * Nullable<bool> -> Azure.ResourceManager.DataMigration.Models.MigratePostgreSqlAzureDBForPostgreSqlSyncTaskProperties
Public Shared Function MigratePostgreSqlAzureDBForPostgreSqlSyncTaskProperties (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 MigratePostgreSqlAzureDBForPostgreSqlSyncTaskInput = Nothing, Optional output As IEnumerable(Of MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutput) = Nothing, Optional taskId As String = Nothing, Optional createdOn As String = Nothing, Optional isCloneable As Nullable(Of Boolean) = Nothing) As MigratePostgreSqlAzureDBForPostgreSqlSyncTaskProperties
Parameters
- errors
- IEnumerable<ODataError>
Array of errors. 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.
Task input.
Task output. This is ignored if submitted. Please note MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutput 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 MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputDatabaseError, MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputDatabaseLevel, MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputError, MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputMigrationLevel and MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputTableLevel.
- taskId
- String
task id.
- createdOn
- String
DateTime in UTC when the task was created.
Returns
A new MigratePostgreSqlAzureDBForPostgreSqlSyncTaskProperties instance for mocking.
Applies to
Azure SDK for .NET