Share via


MigrateMongoDBTaskProperties Class

Definition

Properties for the task that migrates data between MongoDB data sources.

public class MigrateMongoDBTaskProperties : Azure.ResourceManager.DataMigration.Models.DataMigrationProjectTaskProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataMigration.Models.MigrateMongoDBTaskProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataMigration.Models.MigrateMongoDBTaskProperties>
type MigrateMongoDBTaskProperties = class
    inherit DataMigrationProjectTaskProperties
    interface IJsonModel<MigrateMongoDBTaskProperties>
    interface IPersistableModel<MigrateMongoDBTaskProperties>
Public Class MigrateMongoDBTaskProperties
Inherits DataMigrationProjectTaskProperties
Implements IJsonModel(Of MigrateMongoDBTaskProperties), IPersistableModel(Of MigrateMongoDBTaskProperties)
Inheritance
MigrateMongoDBTaskProperties
Implements

Constructors

MigrateMongoDBTaskProperties()

Initializes a new instance of MigrateMongoDBTaskProperties.

Properties

ClientData

Key value pairs of client data to attach meta data information to task.

(Inherited from DataMigrationProjectTaskProperties)
Commands

Array of command properties. Please note DataMigrationCommandProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DataMigrationMongoDBCancelCommand, DataMigrationMongoDBFinishCommand, MigrateMISyncCompleteCommandProperties, MigrateSyncCompleteCommandProperties and DataMigrationMongoDBRestartCommand.

(Inherited from DataMigrationProjectTaskProperties)
Errors

Array of errors. This is ignored if submitted.

(Inherited from DataMigrationProjectTaskProperties)
Input

Describes how a MongoDB data migration should be performed.

Output

Gets the output Please note DataMigrationMongoDBProgress is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DataMigrationMongoDBCollectionProgress, DataMigrationMongoDBDatabaseProgress and DataMigrationMongoDBMigrationProgress.

State

The state of the task. This is ignored if submitted.

(Inherited from DataMigrationProjectTaskProperties)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataMigrationProjectTaskProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from DataMigrationProjectTaskProperties)
IJsonModel<DataMigrationProjectTaskProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DataMigrationProjectTaskProperties)
IJsonModel<MigrateMongoDBTaskProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MigrateMongoDBTaskProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataMigrationProjectTaskProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DataMigrationProjectTaskProperties)
IPersistableModel<DataMigrationProjectTaskProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from DataMigrationProjectTaskProperties)
IPersistableModel<DataMigrationProjectTaskProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DataMigrationProjectTaskProperties)
IPersistableModel<MigrateMongoDBTaskProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MigrateMongoDBTaskProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MigrateMongoDBTaskProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to