ArmDataMigrationModelFactory.MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputDatabaseError Method

Definition

Initializes a new instance of MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputDatabaseError.

public static Azure.ResourceManager.DataMigration.Models.MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputDatabaseError MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputDatabaseError (string id = default, string errorMessage = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataMigration.Models.SyncMigrationDatabaseErrorEvent> events = default);
static member MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputDatabaseError : string * string * seq<Azure.ResourceManager.DataMigration.Models.SyncMigrationDatabaseErrorEvent> -> Azure.ResourceManager.DataMigration.Models.MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputDatabaseError
Public Shared Function MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputDatabaseError (Optional id As String = Nothing, Optional errorMessage As String = Nothing, Optional events As IEnumerable(Of SyncMigrationDatabaseErrorEvent) = Nothing) As MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputDatabaseError

Parameters

id
String

Result identifier.

errorMessage
String

Error message.

events
IEnumerable<SyncMigrationDatabaseErrorEvent>

List of error events.

Returns

A new MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputDatabaseError instance for mocking.

Applies to