共用方式為


SharedGalleryOSDiskImage 類別

這是 OS 磁片映射。

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

繼承
azure.mgmt.compute.v2022_01_03.models._models_py3.SharedGalleryDiskImage
SharedGalleryOSDiskImage

建構函式

SharedGalleryOSDiskImage(*, 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」。