Share via


ScVmmHardwareProfileUpdate Class

Definition

Defines the resource properties.

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

Constructors

ScVmmHardwareProfileUpdate()

Initializes a new instance of ScVmmHardwareProfileUpdate.

Properties

CpuCount

Gets or sets the number of vCPUs for the vm.

DynamicMemoryEnabled

Gets or sets a value indicating whether to enable dynamic memory or not.

DynamicMemoryMaxMB

Gets or sets the max dynamic memory for the vm.

DynamicMemoryMinMB

Gets or sets the min dynamic memory for the vm.

LimitCpuForMigration

Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs.

MemoryMB

MemoryMB is the size of a virtual machine's memory, in MB.

Explicit Interface Implementations

IJsonModel<ScVmmHardwareProfileUpdate>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ScVmmHardwareProfileUpdate>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScVmmHardwareProfileUpdate>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScVmmHardwareProfileUpdate>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScVmmHardwareProfileUpdate>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to