共用方式為


VirtualMachineInventoryItem interface

虛擬機清查專案。

Extends

屬性

biosGuid

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

cloud

VM 所在的雲端清查資源詳細數據。

inventoryType

多型歧視性,指定這個物件可以是的不同類型

ipAddresses

取得或設定 nic IP 位址。

managedMachineResourceId

取得對應至清查資源的追蹤資源標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

osName

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

osType

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

osVersion

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

powerState

取得虛擬機的電源狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

繼承的屬性

inventoryItemName

取得 Vmm 中清查專案的 Managed 物件名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。

managedResourceId

取得對應至清查資源的追蹤資源標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

provisioningState

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

uuid

取得清查專案的 UUID (由 Vmm 指派)。 注意:這個屬性不會串行化。 它只能由伺服器填入。

屬性詳細資料

biosGuid

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

biosGuid?: string

屬性值

string

cloud

VM 所在的雲端清查資源詳細數據。

cloud?: InventoryItemDetails

屬性值

inventoryType

多型歧視性,指定這個物件可以是的不同類型

inventoryType: "VirtualMachine"

屬性值

"VirtualMachine"

ipAddresses

取得或設定 nic IP 位址。

ipAddresses?: string[]

屬性值

string[]

managedMachineResourceId

取得對應至清查資源的追蹤資源標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

managedMachineResourceId?: string

屬性值

string

osName

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

osName?: string

屬性值

string

osType

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

osType?: string

屬性值

string

osVersion

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

osVersion?: string

屬性值

string

powerState

取得虛擬機的電源狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。

powerState?: string

屬性值

string

繼承的屬性詳細資料

inventoryItemName

取得 Vmm 中清查專案的 Managed 物件名稱。 注意:這個屬性不會串行化。 它只能由伺服器填入。

inventoryItemName?: string

屬性值

string

繼承自InventoryItemProperties.inventoryItemName

managedResourceId

取得對應至清查資源的追蹤資源標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。

managedResourceId?: string

屬性值

string

繼承自InventoryItemProperties.managedResourceId

provisioningState

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

provisioningState?: string

屬性值

string

繼承自InventoryItemProperties.provisioningState

uuid

取得清查專案的 UUID (由 Vmm 指派)。 注意:這個屬性不會串行化。 它只能由伺服器填入。

uuid?: string

屬性值

string

繼承自InventoryItemProperties.uuid