Share via


HardwareProfile Class

Definition

Defines the resource properties.

public class HardwareProfile
type HardwareProfile = class
Public Class HardwareProfile
Inheritance
HardwareProfile

Constructors

HardwareProfile()

Initializes a new instance of HardwareProfile.

Properties

CpuHotAddEnabled

Gets or sets a value indicating whether virtual processors can be added while this virtual machine is running.

CpuHotRemoveEnabled

Gets or sets a value indicating whether virtual processors can be removed while this virtual machine is running.

MemoryHotAddEnabled

Gets or sets a value indicating whether memory can be added while this virtual machine is running.

MemorySizeMB

Gets or sets memory size in MBs for the vm.

NumCoresPerSocket

Gets or sets the number of cores per socket for the vm. Defaults to 1 if unspecified.

NumCpus

Gets or sets the number of vCPUs for the vm.

Applies to