共用方式為


Image 類別

來源使用者映射虛擬硬碟。 虛擬硬碟將會先複製,再連結至虛擬機器。 如果提供 SourceImage,目的地虛擬硬碟不得存在。

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

必須填入所有必要的參數,才能傳送至 Azure。

繼承
azure.mgmt.compute.v2018_10_01.models._models_py3.Resource
Image

建構函式

Image(*, location: str, tags: Dict[str, str] | None = None, source_virtual_machine: _models.SubResource | None = None, storage_profile: _models.ImageStorageProfile | None = None, **kwargs: Any)

Keyword-Only Parameters

location
str

資源位置。 必要。

tags
dict[str, str]

資源標籤。

source_virtual_machine
SubResource

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

storage_profile
ImageStorageProfile

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

變數

id
str

資源識別碼。

name
str

資源名稱。

type
str

資源類型。

location
str

資源位置。 必要。

tags
dict[str, str]

資源標籤。

source_virtual_machine
SubResource

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

storage_profile
ImageStorageProfile

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

provisioning_state
str

布建狀態。