共用方式為


SharedGalleryDiskImage 類別

這是磁片映射基類。

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

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

建構函式

SharedGalleryDiskImage(*, host_caching: str | _models.SharedGalleryHostCaching | None = None, **kwargs: Any)

僅限關鍵字參數

名稱 Description
host_caching

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

變數

名稱 Description
disk_size_gb
int

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

host_caching

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