MongoMigrationCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Mongo source and target database and collection details.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.MongoMigrationCollectionTypeConverter))]
public class MongoMigrationCollection : Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IMongoMigrationCollection
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.MongoMigrationCollectionTypeConverter))>]
type MongoMigrationCollection = class
interface IMongoMigrationCollection
interface IJsonSerializable
Public Class MongoMigrationCollection
Implements IMongoMigrationCollection
- Inheritance
-
MongoMigrationCollection
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| MongoMigrationCollection() |
Creates an new MongoMigrationCollection instance. |
Properties
| Name | Description |
|---|---|
| MigrationProgressDetailDurationInSecond |
Migration duration |
| MigrationProgressDetailMigrationError |
Migration Error |
| MigrationProgressDetailMigrationStatus |
Migration Status |
| MigrationProgressDetailProcessedDocumentCount |
Processed Document Count |
| MigrationProgressDetailSourceDocumentCount |
Source Document Count |
| SourceCollection |
Source collection name. |
| SourceDatabase |
Source database name. |
| TargetCollection |
Target collection name. |
| TargetDatabase |
Target database name. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of MongoMigrationCollection. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of MongoMigrationCollection. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IMongoMigrationCollection. |
| FromJsonString(String) |
Creates a new instance of MongoMigrationCollection, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of MongoMigrationCollection into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |