你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GalleryOSDiskImage 类

这是 OS 磁盘映像。

变量仅由服务器填充,发送请求时将被忽略。

继承
azure.mgmt.compute.v2021_10_01.models._models_py3.GalleryDiskImage
GalleryOSDiskImage

构造函数

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

仅限关键字的参数

名称 说明
host_caching

磁盘的主机缓存。 有效值为“None”、“ReadOnly”和“ReadWrite”。 已知值为:“None”、“ReadOnly”和“ReadWrite”。

source

库项目版本源。

变量

名称 说明
size_in_gb
int

此属性指示要创建的 VHD 的大小。

host_caching

磁盘的主机缓存。 有效值为“None”、“ReadOnly”和“ReadWrite”。 已知值为:“None”、“ReadOnly”和“ReadWrite”。

source

库项目版本源。