다음을 통해 공유


MongoDbMigrationProgress Constructors

Definition

Overloads

MongoDbMigrationProgress()

Initializes a new instance of the MongoDbMigrationProgress class.

MongoDbMigrationProgress(Int64, Int64, String, IDictionary<String, MongoDbError>, Int64, Int64, String, Int64, Int64, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, String, IDictionary<String, MongoDbDatabaseProgress>)

Initializes a new instance of the MongoDbMigrationProgress class.

MongoDbMigrationProgress()

Initializes a new instance of the MongoDbMigrationProgress class.

public MongoDbMigrationProgress ();
Public Sub New ()

Applies to

MongoDbMigrationProgress(Int64, Int64, String, IDictionary<String, MongoDbError>, Int64, Int64, String, Int64, Int64, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, String, IDictionary<String, MongoDbDatabaseProgress>)

Initializes a new instance of the MongoDbMigrationProgress class.

public MongoDbMigrationProgress (long bytesCopied, long documentsCopied, string elapsedTime, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.DataMigration.Models.MongoDbError> errors, long eventsPending, long eventsReplayed, string state, long totalBytes, long totalDocuments, DateTimeOffset? lastEventTime = default, DateTimeOffset? lastReplayTime = default, string name = default, string qualifiedName = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.DataMigration.Models.MongoDbDatabaseProgress> databases = default);
new Microsoft.Azure.Management.DataMigration.Models.MongoDbMigrationProgress : int64 * int64 * string * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.DataMigration.Models.MongoDbError> * int64 * int64 * string * int64 * int64 * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.DataMigration.Models.MongoDbDatabaseProgress> -> Microsoft.Azure.Management.DataMigration.Models.MongoDbMigrationProgress
Public Sub New (bytesCopied As Long, documentsCopied As Long, elapsedTime As String, errors As IDictionary(Of String, MongoDbError), eventsPending As Long, eventsReplayed As Long, state As String, totalBytes As Long, totalDocuments As Long, Optional lastEventTime As Nullable(Of DateTimeOffset) = Nothing, Optional lastReplayTime As Nullable(Of DateTimeOffset) = Nothing, Optional name As String = Nothing, Optional qualifiedName As String = Nothing, Optional databases As IDictionary(Of String, MongoDbDatabaseProgress) = Nothing)

Parameters

bytesCopied
Int64

The number of document bytes copied during the Copying stage

documentsCopied
Int64

The number of documents copied during the Copying stage

elapsedTime
String

The elapsed time in the format [ddd.]hh:mm:ss[.fffffff] (i.e. TimeSpan format)

errors
IDictionary<String,MongoDbError>

The errors and warnings that have occurred for the current object. The keys are the error codes.

eventsPending
Int64

The number of oplog events awaiting replay

eventsReplayed
Int64

The number of oplog events replayed so far

state
String

Possible values include: 'NotStarted', 'ValidatingInput', 'Initializing', 'Restarting', 'Copying', 'InitialReplay', 'Replaying', 'Finalizing', 'Complete', 'Canceled', 'Failed'

totalBytes
Int64

The total number of document bytes on the source at the beginning of the Copying stage, or -1 if the total size was unknown

totalDocuments
Int64

The total number of documents on the source at the beginning of the Copying stage, or -1 if the total count was unknown

lastEventTime
Nullable<DateTimeOffset>

The timestamp of the last oplog event received, or null if no oplog event has been received yet

lastReplayTime
Nullable<DateTimeOffset>

The timestamp of the last oplog event replayed, or null if no oplog event has been replayed yet

name
String

The name of the progress object. For a collection, this is the unqualified collection name. For a database, this is the database name. For the overall migration, this is null.

qualifiedName
String

The qualified name of the progress object. For a collection, this is the database-qualified name. For a database, this is the database name. For the overall migration, this is null.

databases
IDictionary<String,MongoDbDatabaseProgress>

The progress of the databases in the migration. The keys are the names of the databases

Applies to