Share via


DataMigrationMongoDBThrottlingSettings Class

Definition

Specifies resource limits for the migration.

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

Constructors

DataMigrationMongoDBThrottlingSettings()

Initializes a new instance of DataMigrationMongoDBThrottlingSettings.

Properties

MaxParallelism

The maximum number of work items (e.g. collection copies) that will be processed in parallel.

MinFreeCpu

The percentage of CPU time that the migrator will try to avoid using, from 0 to 100.

MinFreeMemoryMb

The number of megabytes of RAM that the migrator will try to avoid using.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DataMigrationMongoDBThrottlingSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataMigrationMongoDBThrottlingSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataMigrationMongoDBThrottlingSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataMigrationMongoDBThrottlingSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataMigrationMongoDBThrottlingSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to