共用方式為


VirtualMachineTemplateProperties interface

定義資源屬性。

屬性

computerName

取得計算機名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。

cpuCount

取得 vm 所需的 vCPU 數目。 注意:這個屬性不會串行化。 它只能由伺服器填入。

disks

取得範本的磁碟。 注意:這個屬性不會串行化。 它只能由伺服器填入。

dynamicMemoryEnabled

取得值,指出是否啟用易失記憶體。 注意:這個屬性不會串行化。 它只能由伺服器填入。

dynamicMemoryMaxMB

取得 VM 的最大動態記憶體。 注意:這個屬性不會串行化。 它只能由伺服器填入。

dynamicMemoryMinMB

取得 vm 的最小動態記憶體。 注意:這個屬性不會串行化。 它只能由伺服器填入。

generation

取得 VM 的產生。 注意:這個屬性不會串行化。 它只能由伺服器填入。

inventoryItemId

取得或設定資源的清查項目標識碼。

isCustomizable

取得值,指出 VM 範本是否可自定義。 注意:這個屬性不會串行化。 它只能由伺服器填入。

isHighlyAvailable

取得高可用性屬性。 注意:這個屬性不會串行化。 它只能由伺服器填入。

limitCpuForMigration

取得值,指出是否要啟用 VM 實時移轉的處理器相容性模式。 注意:這個屬性不會串行化。 它只能由伺服器填入。

memoryMB

MemoryMB 是虛擬機記憶體所需的大小,以 MB 為單位。 注意:這個屬性不會串行化。 它只能由伺服器填入。

networkInterfaces

取得範本的網路介面。 注意:這個屬性不會串行化。 它只能由伺服器填入。

osName

取得 os 名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。

osType

取得os的類型。 注意:這個屬性不會串行化。 它只能由伺服器填入。

provisioningState

資源布建狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

uuid

虛擬機範本的唯一標識碼。

vmmServerId

此資源所在的 vmmServer 資源的 ARM 識別符。

屬性詳細資料

computerName

取得計算機名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。

computerName?: string

屬性值

string

cpuCount

取得 vm 所需的 vCPU 數目。 注意:這個屬性不會串行化。 它只能由伺服器填入。

cpuCount?: number

屬性值

number

disks

取得範本的磁碟。 注意:這個屬性不會串行化。 它只能由伺服器填入。

disks?: VirtualDisk[]

屬性值

dynamicMemoryEnabled

取得值,指出是否啟用易失記憶體。 注意:這個屬性不會串行化。 它只能由伺服器填入。

dynamicMemoryEnabled?: string

屬性值

string

dynamicMemoryMaxMB

取得 VM 的最大動態記憶體。 注意:這個屬性不會串行化。 它只能由伺服器填入。

dynamicMemoryMaxMB?: number

屬性值

number

dynamicMemoryMinMB

取得 vm 的最小動態記憶體。 注意:這個屬性不會串行化。 它只能由伺服器填入。

dynamicMemoryMinMB?: number

屬性值

number

generation

取得 VM 的產生。 注意:這個屬性不會串行化。 它只能由伺服器填入。

generation?: number

屬性值

number

inventoryItemId

取得或設定資源的清查項目標識碼。

inventoryItemId?: string

屬性值

string

isCustomizable

取得值,指出 VM 範本是否可自定義。 注意:這個屬性不會串行化。 它只能由伺服器填入。

isCustomizable?: string

屬性值

string

isHighlyAvailable

取得高可用性屬性。 注意:這個屬性不會串行化。 它只能由伺服器填入。

isHighlyAvailable?: string

屬性值

string

limitCpuForMigration

取得值,指出是否要啟用 VM 實時移轉的處理器相容性模式。 注意:這個屬性不會串行化。 它只能由伺服器填入。

limitCpuForMigration?: string

屬性值

string

memoryMB

MemoryMB 是虛擬機記憶體所需的大小,以 MB 為單位。 注意:這個屬性不會串行化。 它只能由伺服器填入。

memoryMB?: number

屬性值

number

networkInterfaces

取得範本的網路介面。 注意:這個屬性不會串行化。 它只能由伺服器填入。

networkInterfaces?: NetworkInterface[]

屬性值

osName

取得 os 名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。

osName?: string

屬性值

string

osType

取得os的類型。 注意:這個屬性不會串行化。 它只能由伺服器填入。

osType?: string

屬性值

string

provisioningState

資源布建狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

provisioningState?: string

屬性值

string

uuid

虛擬機範本的唯一標識碼。

uuid?: string

屬性值

string

vmmServerId

此資源所在的 vmmServer 資源的 ARM 識別符。

vmmServerId?: string

屬性值

string