Compartilhar via


MongoDbMigrationProgress Class

Definition

Describes the progress of the overall migration

[Newtonsoft.Json.JsonObject("Migration")]
public class MongoDbMigrationProgress : Microsoft.Azure.Management.DataMigration.Models.MongoDbProgress
[<Newtonsoft.Json.JsonObject("Migration")>]
type MongoDbMigrationProgress = class
    inherit MongoDbProgress
Public Class MongoDbMigrationProgress
Inherits MongoDbProgress
Inheritance
MongoDbMigrationProgress
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

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.

Properties

BytesCopied

Gets or sets the number of document bytes copied during the Copying stage

(Inherited from MongoDbProgress)
Databases

Gets or sets the progress of the databases in the migration. The keys are the names of the databases

DocumentsCopied

Gets or sets the number of documents copied during the Copying stage

(Inherited from MongoDbProgress)
ElapsedTime

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

(Inherited from MongoDbProgress)
Errors

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

(Inherited from MongoDbProgress)
EventsPending

Gets or sets the number of oplog events awaiting replay

(Inherited from MongoDbProgress)
EventsReplayed

Gets or sets the number of oplog events replayed so far

(Inherited from MongoDbProgress)
LastEventTime

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

(Inherited from MongoDbProgress)
LastReplayTime

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

(Inherited from MongoDbProgress)
Name

Gets or sets 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.

(Inherited from MongoDbProgress)
QualifiedName

Gets or sets 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.

(Inherited from MongoDbProgress)
State

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

(Inherited from MongoDbProgress)
TotalBytes

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

(Inherited from MongoDbProgress)
TotalDocuments

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

(Inherited from MongoDbProgress)

Methods

Validate()

Validate the object.

Applies to