Share via


DataMigrationMongoDBMigrationSettings Class

Definition

Describes how a MongoDB data migration should be performed.

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

Constructors

DataMigrationMongoDBMigrationSettings(IDictionary<String,DataMigrationMongoDBDatabaseSettings>, DataMigrationMongoDBConnectionInfo, DataMigrationMongoDBConnectionInfo)

Initializes a new instance of DataMigrationMongoDBMigrationSettings.

Properties

BoostRUs

The RU limit on a CosmosDB target that collections will be temporarily increased to (if lower) during the initial copy of a migration, from 10,000 to 1,000,000, or 0 to use the default boost (which is generally the maximum), or null to not boost the RUs. This setting has no effect on non-CosmosDB targets.

Databases

The databases on the source cluster to migrate to the target. The keys are the names of the databases.

Replication

Describes how changes will be replicated from the source to the target. The default is OneTime.

Source

Settings used to connect to the source cluster.

Target

Settings used to connect to the target cluster.

Throttling

Settings used to limit the resource usage of the migration.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataMigrationMongoDBMigrationSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataMigrationMongoDBMigrationSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataMigrationMongoDBMigrationSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataMigrationMongoDBMigrationSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataMigrationMongoDBMigrationSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to