Share via


ArmDataMigrationModelFactory.MigrationValidationResult Method

Definition

Initializes a new instance of MigrationValidationResult.

public static Azure.ResourceManager.DataMigration.Models.MigrationValidationResult MigrationValidationResult (string id = default, string migrationId = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.ResourceManager.DataMigration.Models.MigrationValidationDatabaseSummaryResult> summaryResults = default, Azure.ResourceManager.DataMigration.Models.ValidationStatus? status = default);
static member MigrationValidationResult : string * string * System.Collections.Generic.IReadOnlyDictionary<string, Azure.ResourceManager.DataMigration.Models.MigrationValidationDatabaseSummaryResult> * Nullable<Azure.ResourceManager.DataMigration.Models.ValidationStatus> -> Azure.ResourceManager.DataMigration.Models.MigrationValidationResult
Public Shared Function MigrationValidationResult (Optional id As String = Nothing, Optional migrationId As String = Nothing, Optional summaryResults As IReadOnlyDictionary(Of String, MigrationValidationDatabaseSummaryResult) = Nothing, Optional status As Nullable(Of ValidationStatus) = Nothing) As MigrationValidationResult

Parameters

id
String

Migration validation result identifier.

migrationId
String

Migration Identifier.

summaryResults
IReadOnlyDictionary<String,MigrationValidationDatabaseSummaryResult>

Validation summary results for each database.

status
Nullable<ValidationStatus>

Current status of validation at the migration level. Status from the database validation result status will be aggregated here.

Returns

A new MigrationValidationResult instance for mocking.

Applies to