Language

VirtualMachineScaleSetHardwareProfile Class

Definition

Specifies the hardware settings for the virtual machine scale set.

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

Constructors

Name Description
VirtualMachineScaleSetHardwareProfile()

Initializes a new instance of VirtualMachineScaleSetHardwareProfile.

Properties

Name Description
ProcessorMode

Specifies the processor mode for the virtual machine scale set. Optional; if omitted, the platform default applies (currently Deterministic). This property can be updated on a running VMSS without deallocation or reboot. Minimum api-version: 2026-04-01.

VmSizeProperties

Specifies the properties for customizing the size of the virtual machine. Minimum api-version: 2021-11-01. Please follow the instructions in VM Customization for more details.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<VirtualMachineScaleSetHardwareProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<VirtualMachineScaleSetHardwareProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<VirtualMachineScaleSetHardwareProfile>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<VirtualMachineScaleSetHardwareProfile>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<VirtualMachineScaleSetHardwareProfile>.Write(ModelReaderWriterOptions)

Applies to