MongoDBMigrationSettings 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.
Describes how a MongoDB data migration should be performed.
public class MongoDBMigrationSettings : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataMigration.Models.MongoDBMigrationSettings>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataMigration.Models.MongoDBMigrationSettings>
type MongoDBMigrationSettings = class
interface IJsonModel<MongoDBMigrationSettings>
interface IPersistableModel<MongoDBMigrationSettings>
Public Class MongoDBMigrationSettings
Implements IJsonModel(Of MongoDBMigrationSettings), IPersistableModel(Of MongoDBMigrationSettings)
- Inheritance
-
MongoDBMigrationSettings
- Implements
Constructors
MongoDBMigrationSettings(IDictionary<String,MongoDBDatabaseSettings>, MongoDBConnectionInfo, MongoDBConnectionInfo) |
Initializes a new instance of MongoDBMigrationSettings. |
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<MongoDBMigrationSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<MongoDBMigrationSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<MongoDBMigrationSettings>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<MongoDBMigrationSettings>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<MongoDBMigrationSettings>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |