MongoDbDatabaseProgress Class

Definition

Describes the progress of a database

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

Constructors

MongoDbDatabaseProgress()

Initializes a new instance of the MongoDbDatabaseProgress class.

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

Initializes a new instance of the MongoDbDatabaseProgress class.

Properties

BytesCopied

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

(Inherited from MongoDbProgress)
Collections

Gets or sets the progress of the collections in the database. The keys are the unqualified names of the collections

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