Condividi tramite


ProtectedItemDynamicMemoryConfig Class

Definition

Protected item dynamic memory config.

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

Constructors

ProtectedItemDynamicMemoryConfig(Int64, Int64, Int32)

Initializes a new instance of ProtectedItemDynamicMemoryConfig.

Properties

MaximumMemoryInMegaBytes

Gets or sets maximum memory in MB.

MinimumMemoryInMegaBytes

Gets or sets minimum memory in MB.

TargetMemoryBufferPercentage

Gets or sets target memory buffer in %.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ProtectedItemDynamicMemoryConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ProtectedItemDynamicMemoryConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ProtectedItemDynamicMemoryConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ProtectedItemDynamicMemoryConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ProtectedItemDynamicMemoryConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to