Share via


ArmPostgreSqlFlexibleServersModelFactory.DbMigrationStatus Method

Definition

Initializes a new instance of DbMigrationStatus.

public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.DbMigrationStatus DbMigrationStatus (string databaseName = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.MigrationDbState? migrationState = default, string migrationOperation = default, DateTimeOffset? startedOn = default, DateTimeOffset? endedOn = default, int? fullLoadQueuedTables = default, int? fullLoadErroredTables = default, int? fullLoadLoadingTables = default, int? fullLoadCompletedTables = default, int? cdcUpdateCounter = default, int? cdcDeleteCounter = default, int? cdcInsertCounter = default, int? appliedChanges = default, int? incomingChanges = default, int? latency = default, string message = default);
static member DbMigrationStatus : string * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.MigrationDbState> * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * string -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.DbMigrationStatus
Public Shared Function DbMigrationStatus (Optional databaseName As String = Nothing, Optional migrationState As Nullable(Of MigrationDbState) = Nothing, Optional migrationOperation As String = Nothing, Optional startedOn As Nullable(Of DateTimeOffset) = Nothing, Optional endedOn As Nullable(Of DateTimeOffset) = Nothing, Optional fullLoadQueuedTables As Nullable(Of Integer) = Nothing, Optional fullLoadErroredTables As Nullable(Of Integer) = Nothing, Optional fullLoadLoadingTables As Nullable(Of Integer) = Nothing, Optional fullLoadCompletedTables As Nullable(Of Integer) = Nothing, Optional cdcUpdateCounter As Nullable(Of Integer) = Nothing, Optional cdcDeleteCounter As Nullable(Of Integer) = Nothing, Optional cdcInsertCounter As Nullable(Of Integer) = Nothing, Optional appliedChanges As Nullable(Of Integer) = Nothing, Optional incomingChanges As Nullable(Of Integer) = Nothing, Optional latency As Nullable(Of Integer) = Nothing, Optional message As String = Nothing) As DbMigrationStatus

Parameters

databaseName
String

Name of the database.

migrationState
Nullable<MigrationDbState>

Migration db state of an individual database.

migrationOperation
String

Migration operation of an individual database.

startedOn
Nullable<DateTimeOffset>

Start date-time of a migration state.

endedOn
Nullable<DateTimeOffset>

End date-time of a migration state.

fullLoadQueuedTables
Nullable<Int32>

Number of tables queued for the migration of a DB.

fullLoadErroredTables
Nullable<Int32>

Number of tables errored out during the migration of a DB.

fullLoadLoadingTables
Nullable<Int32>

Number of tables loading during the migration of a DB.

fullLoadCompletedTables
Nullable<Int32>

Number of tables loaded during the migration of a DB.

cdcUpdateCounter
Nullable<Int32>

CDC update counter.

cdcDeleteCounter
Nullable<Int32>

CDC delete counter.

cdcInsertCounter
Nullable<Int32>

CDC insert counter.

appliedChanges
Nullable<Int32>

CDC applied changes counter.

incomingChanges
Nullable<Int32>

CDC incoming changes counter.

latency
Nullable<Int32>

Lag in seconds between source and target during online phase.

message
String

Error message, if any, for the migration state.

Returns

A new DbMigrationStatus instance for mocking.

Applies to