-
Notifications
You must be signed in to change notification settings - Fork 4.7k
/
MigrationValidationResult.cs
44 lines (38 loc) · 2.04 KB
/
MigrationValidationResult.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.DataMigration.Models
{
/// <summary> Migration Validation Result. </summary>
public partial class MigrationValidationResult
{
/// <summary> Initializes a new instance of MigrationValidationResult. </summary>
internal MigrationValidationResult()
{
SummaryResults = new ChangeTrackingDictionary<string, MigrationValidationDatabaseSummaryResult>();
}
/// <summary> Initializes a new instance of MigrationValidationResult. </summary>
/// <param name="id"> Migration validation result identifier. </param>
/// <param name="migrationId"> Migration Identifier. </param>
/// <param name="summaryResults"> Validation summary results for each database. </param>
/// <param name="status"> Current status of validation at the migration level. Status from the database validation result status will be aggregated here. </param>
internal MigrationValidationResult(string id, string migrationId, IReadOnlyDictionary<string, MigrationValidationDatabaseSummaryResult> summaryResults, ValidationStatus? status)
{
Id = id;
MigrationId = migrationId;
SummaryResults = summaryResults;
Status = status;
}
/// <summary> Migration validation result identifier. </summary>
public string Id { get; }
/// <summary> Migration Identifier. </summary>
public string MigrationId { get; }
/// <summary> Validation summary results for each database. </summary>
public IReadOnlyDictionary<string, MigrationValidationDatabaseSummaryResult> SummaryResults { get; }
/// <summary> Current status of validation at the migration level. Status from the database validation result status will be aggregated here. </summary>
public ValidationStatus? Status { get; }
}
}