共用方式為


ImageUpdate 類別

來源使用者映射虛擬硬碟。 只能更新標記。

變數只會由伺服器填入,而且會在傳送要求時予以忽略。

繼承
azure.mgmt.compute.v2021_11_01.models._models_py3.UpdateResource
ImageUpdate

建構函式

ImageUpdate(*, tags: Dict[str, str] | None = None, source_virtual_machine: _models.SubResource | None = None, storage_profile: _models.ImageStorageProfile | None = None, hyper_v_generation: str | _models.HyperVGenerationTypes | None = None, **kwargs)

變數

tags
dict[str, str]

資源標籤。

source_virtual_machine
SubResource

建立映射的來源虛擬機器。

storage_profile
ImageStorageProfile

指定虛擬機器磁碟的儲存體設定。

provisioning_state
str

布建狀態。

hyper_v_generation
strHyperVGenerationTypes

指定從映射建立之 VirtualMachine 的 HyperVGenerationType。 如果映射來源是 Blob,則從 API 版本 2019-03-01 開始,我們需要使用者指定值,如果來源是磁片或快照集等受控資源,我們可能需要使用者指定 屬性,如果我們無法從來源受控資源推斷它。 已知值為:「V1」 和 「V2」。