Udostępnij za pośrednictwem


MongoDbCollectionProgress Class

Definition

Describes the progress of a collection

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

Constructors

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.

Properties

BytesCopied

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

(Inherited from MongoDbProgress)
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