你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HardwareProfile interface

Defines the resource properties.

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. NOTE: This property will not be serialized. It can only be populated by the server.

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.

Property Details

cpuCount

Gets or sets the number of vCPUs for the vm.

cpuCount?: number

Property Value

number

dynamicMemoryEnabled

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

dynamicMemoryEnabled?: string

Property Value

string

dynamicMemoryMaxMB

Gets or sets the max dynamic memory for the vm.

dynamicMemoryMaxMB?: number

Property Value

number

dynamicMemoryMinMB

Gets or sets the min dynamic memory for the vm.

dynamicMemoryMinMB?: number

Property Value

number

isHighlyAvailable

Gets highly available property. NOTE: This property will not be serialized. It can only be populated by the server.

isHighlyAvailable?: string

Property Value

string

limitCpuForMigration

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

limitCpuForMigration?: string

Property Value

string

memoryMB

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

memoryMB?: number

Property Value

number