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

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.

Applies to