共用方式為


GalleryDiskImage 類別

這是磁片映射基類。

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

繼承
azure.mgmt.compute._serialization.Model
GalleryDiskImage

建構函式

GalleryDiskImage(*, host_caching: str | _models.HostCaching | None = None, source: _models.GalleryArtifactVersionSource | None = None, **kwargs: Any)

僅限關鍵字參數

名稱 Description
host_caching

磁片的主機快取。 有效值為 'None'、'ReadOnly' 和 'ReadWrite'。 已知值為:「None」、「ReadOnly」 和 「ReadWrite」。

source

資源庫成品版本來源。

變數

名稱 Description
size_in_gb
int

這個屬性工作表示要建立的 VHD 大小。

host_caching

磁片的主機快取。 有效值為 'None'、'ReadOnly' 和 'ReadWrite'。 已知值為:「None」、「ReadOnly」 和 「ReadWrite」。

source

資源庫成品版本來源。