HardwareProfile interface

Specifies the hardware settings for the virtual machine.

Properties

cpuHotAddEnabled

Gets or sets a value indicating whether virtual processors can be added while this virtual machine is running. NOTE: This property will not be serialized. It can only be populated by the server.

cpuHotRemoveEnabled

Gets or sets a value indicating whether virtual processors can be removed while this virtual machine is running. NOTE: This property will not be serialized. It can only be populated by the server.

memoryHotAddEnabled

Gets or sets a value indicating whether memory can be added while this virtual machine is running. NOTE: This property will not be serialized. It can only be populated by the server.

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.

Property Details

cpuHotAddEnabled

Gets or sets a value indicating whether virtual processors can be added while this virtual machine is running. NOTE: This property will not be serialized. It can only be populated by the server.

cpuHotAddEnabled?: boolean

Property Value

boolean

cpuHotRemoveEnabled

Gets or sets a value indicating whether virtual processors can be removed while this virtual machine is running. NOTE: This property will not be serialized. It can only be populated by the server.

cpuHotRemoveEnabled?: boolean

Property Value

boolean

memoryHotAddEnabled

Gets or sets a value indicating whether memory can be added while this virtual machine is running. NOTE: This property will not be serialized. It can only be populated by the server.

memoryHotAddEnabled?: boolean

Property Value

boolean

memorySizeMB

Gets or sets memory size in MBs for the vm.

memorySizeMB?: number

Property Value

number

numCoresPerSocket

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

numCoresPerSocket?: number

Property Value

number

numCPUs

Gets or sets the number of vCPUs for the vm.

numCPUs?: number

Property Value

number