Sdílet prostřednictvím


MongoDBThrottlingSettings Class

Definition

Specifies resource limits for the migration.

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

Constructors

MongoDBThrottlingSettings()

Initializes a new instance of MongoDBThrottlingSettings.

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<MongoDBThrottlingSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MongoDBThrottlingSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MongoDBThrottlingSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MongoDBThrottlingSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MongoDBThrottlingSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to