VirtualMachineInstance interface
定義 virtualMachineInstance。
- Extends
屬性
extended |
取得或設定擴充位置。 |
hardware |
硬體屬性。 |
infrastructure |
取得基礎結構配置檔。 |
network |
網路屬性。 |
os |
OS 屬性。 |
placement |
Placement 屬性。 |
power |
取得虛擬機的電源狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
provisioning |
取得布建狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
resource |
取得或設定 VM 資源的唯一標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
security |
取得安全性配置檔。 |
statuses | 資源狀態資訊。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
storage |
記憶體屬性。 |
繼承的屬性
id | 資源的完整資源標識碼。 例如“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}” 附注:此屬性將不會串行化。 它只能由伺服器填入。 |
name | 資源名稱注意:此屬性將不會串行化。 它只能由伺服器填入。 |
system |
包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。 |
type | 資源的型別。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” 附注:此屬性將不會串行化。 它只能由伺服器填入。 |
屬性詳細資料
extendedLocation
hardwareProfile
infrastructureProfile
networkProfile
osProfile
placementProfile
powerState
取得虛擬機的電源狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。
powerState?: string
屬性值
string
provisioningState
取得布建狀態。 注意:這個屬性不會串行化。 它只能由伺服器填入。
provisioningState?: string
屬性值
string
resourceUid
取得或設定 VM 資源的唯一標識碼。 注意:這個屬性不會串行化。 它只能由伺服器填入。
resourceUid?: string
屬性值
string
securityProfile
statuses
storageProfile
繼承的屬性詳細資料
id
資源的完整資源標識碼。 例如“/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}” 附注:此屬性將不會串行化。 它只能由伺服器填入。
id?: string
屬性值
string
name
systemData
包含 createdBy 和 modifiedBy 資訊的 Azure Resource Manager 元數據。 注意:這個屬性不會串行化。 它只能由伺服器填入。
systemData?: SystemData
屬性值
type
資源的型別。 例如“Microsoft.Compute/virtualMachines” 或 “Microsoft.Storage/storageAccounts” 附注:此屬性將不會串行化。 它只能由伺服器填入。
type?: string
屬性值
string