Partager via


ScVmmHardwareProfile Class

Definition

Defines the resource properties.

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

Constructors

ScVmmHardwareProfile()

Initializes a new instance of ScVmmHardwareProfile.

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.

IsHighlyAvailable

Gets highly available property.

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

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

IJsonModel<ScVmmHardwareProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScVmmHardwareProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScVmmHardwareProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ScVmmHardwareProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to