ArmDataMigrationModelFactory.MigrationValidationDatabaseSummaryResult Method

Definition

Initializes a new instance of MigrationValidationDatabaseSummaryResult.

public static Azure.ResourceManager.DataMigration.Models.MigrationValidationDatabaseSummaryResult MigrationValidationDatabaseSummaryResult (string id = default, string migrationId = default, string sourceDatabaseName = default, string targetDatabaseName = default, DateTimeOffset? startedOn = default, DateTimeOffset? endedOn = default, Azure.ResourceManager.DataMigration.Models.ValidationStatus? status = default);
static member MigrationValidationDatabaseSummaryResult : string * string * string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.DataMigration.Models.ValidationStatus> -> Azure.ResourceManager.DataMigration.Models.MigrationValidationDatabaseSummaryResult
Public Shared Function MigrationValidationDatabaseSummaryResult (Optional id As String = Nothing, Optional migrationId As String = Nothing, Optional sourceDatabaseName As String = Nothing, Optional targetDatabaseName As String = Nothing, Optional startedOn As Nullable(Of DateTimeOffset) = Nothing, Optional endedOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As Nullable(Of ValidationStatus) = Nothing) As MigrationValidationDatabaseSummaryResult

Parameters

id
String

Result identifier.

migrationId
String

Migration Identifier.

sourceDatabaseName
String

Name of the source database.

targetDatabaseName
String

Name of the target database.

startedOn
Nullable<DateTimeOffset>

Validation start time.

endedOn
Nullable<DateTimeOffset>

Validation end time.

status
Nullable<ValidationStatus>

Current status of validation at the database level.

Returns

A new MigrationValidationDatabaseSummaryResult instance for mocking.

Applies to