Share via


MongoDbCollectionProgress Constructors

Definition

Overloads

MongoDbCollectionProgress()

Initializes a new instance of the MongoDbCollectionProgress class.

MongoDbCollectionProgress(Int64, Int64, String, IDictionary<String, MongoDbError>, Int64, Int64, String, Int64, Int64, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, String)

Initializes a new instance of the MongoDbCollectionProgress class.

MongoDbCollectionProgress()

Initializes a new instance of the MongoDbCollectionProgress class.

public MongoDbCollectionProgress ();
Public Sub New ()

Applies to

MongoDbCollectionProgress(Int64, Int64, String, IDictionary<String, MongoDbError>, Int64, Int64, String, Int64, Int64, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>, String, String)

Initializes a new instance of the MongoDbCollectionProgress class.

public MongoDbCollectionProgress (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);
new Microsoft.Azure.Management.DataMigration.Models.MongoDbCollectionProgress : 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 -> Microsoft.Azure.Management.DataMigration.Models.MongoDbCollectionProgress
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)

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.

Applies to