Package version:

Interface HardwareProfileUpdate

Defines the resource update properties.

interface HardwareProfileUpdate {
    cpuCount?: number;
    dynamicMemoryEnabled?: string;
    dynamicMemoryMaxMB?: number;
    dynamicMemoryMinMB?: number;
    limitCpuForMigration?: string;
    memoryMB?: number;
}

Properties

cpuCount?: number

Gets or sets the number of vCPUs for the vm.

dynamicMemoryEnabled?: string

Gets or sets a value indicating whether to enable dynamic memory or not.

dynamicMemoryMaxMB?: number

Gets or sets the max dynamic memory for the vm.

dynamicMemoryMinMB?: number

Gets or sets the min dynamic memory for the vm.

limitCpuForMigration?: string

Gets or sets a value indicating whether to enable processor compatibility mode for live migration of VMs.

memoryMB?: number

MemoryMB is the size of a virtual machine's memory, in MB.