-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputTableLevel.cs
82 lines (76 loc) · 4.53 KB
/
MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputTableLevel.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.DataMigration.Models
{
/// <summary> The MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputTableLevel. </summary>
public partial class MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputTableLevel : MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutput
{
/// <summary> Initializes a new instance of MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputTableLevel. </summary>
internal MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputTableLevel()
{
ResultType = "TableLevelOutput";
}
/// <summary> Initializes a new instance of MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputTableLevel. </summary>
/// <param name="id"> Result identifier. </param>
/// <param name="resultType"> Result type. </param>
/// <param name="tableName"> Name of the table. </param>
/// <param name="databaseName"> Name of the database. </param>
/// <param name="cdcInsertCounter"> Number of applied inserts. </param>
/// <param name="cdcUpdateCounter"> Number of applied updates. </param>
/// <param name="cdcDeleteCounter"> Number of applied deletes. </param>
/// <param name="fullLoadEstFinishOn"> Estimate to finish full load. </param>
/// <param name="fullLoadStartedOn"> Full load start time. </param>
/// <param name="fullLoadEndedOn"> Full load end time. </param>
/// <param name="fullLoadTotalRows"> Number of rows applied in full load. </param>
/// <param name="state"> Current state of the table migration. </param>
/// <param name="totalChangesApplied"> Total number of applied changes. </param>
/// <param name="dataErrorsCounter"> Number of data errors occurred. </param>
/// <param name="lastModifiedOn"> Last modified time on target. </param>
internal MigratePostgreSqlAzureDBForPostgreSqlSyncTaskOutputTableLevel(string id, string resultType, string tableName, string databaseName, long? cdcInsertCounter, long? cdcUpdateCounter, long? cdcDeleteCounter, DateTimeOffset? fullLoadEstFinishOn, DateTimeOffset? fullLoadStartedOn, DateTimeOffset? fullLoadEndedOn, long? fullLoadTotalRows, SyncTableMigrationState? state, long? totalChangesApplied, long? dataErrorsCounter, DateTimeOffset? lastModifiedOn) : base(id, resultType)
{
TableName = tableName;
DatabaseName = databaseName;
CdcInsertCounter = cdcInsertCounter;
CdcUpdateCounter = cdcUpdateCounter;
CdcDeleteCounter = cdcDeleteCounter;
FullLoadEstFinishOn = fullLoadEstFinishOn;
FullLoadStartedOn = fullLoadStartedOn;
FullLoadEndedOn = fullLoadEndedOn;
FullLoadTotalRows = fullLoadTotalRows;
State = state;
TotalChangesApplied = totalChangesApplied;
DataErrorsCounter = dataErrorsCounter;
LastModifiedOn = lastModifiedOn;
ResultType = resultType ?? "TableLevelOutput";
}
/// <summary> Name of the table. </summary>
public string TableName { get; }
/// <summary> Name of the database. </summary>
public string DatabaseName { get; }
/// <summary> Number of applied inserts. </summary>
public long? CdcInsertCounter { get; }
/// <summary> Number of applied updates. </summary>
public long? CdcUpdateCounter { get; }
/// <summary> Number of applied deletes. </summary>
public long? CdcDeleteCounter { get; }
/// <summary> Estimate to finish full load. </summary>
public DateTimeOffset? FullLoadEstFinishOn { get; }
/// <summary> Full load start time. </summary>
public DateTimeOffset? FullLoadStartedOn { get; }
/// <summary> Full load end time. </summary>
public DateTimeOffset? FullLoadEndedOn { get; }
/// <summary> Number of rows applied in full load. </summary>
public long? FullLoadTotalRows { get; }
/// <summary> Current state of the table migration. </summary>
public SyncTableMigrationState? State { get; }
/// <summary> Total number of applied changes. </summary>
public long? TotalChangesApplied { get; }
/// <summary> Number of data errors occurred. </summary>
public long? DataErrorsCounter { get; }
/// <summary> Last modified time on target. </summary>
public DateTimeOffset? LastModifiedOn { get; }
}
}