SharedGalleryOSDiskImage Class

This is the OS disk image.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.compute.v2022_01_03.models._models_py3.SharedGalleryDiskImage
SharedGalleryOSDiskImage

Constructor

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

Keyword-Only Parameters

Name Description
host_caching

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Known values are: "None", "ReadOnly", and "ReadWrite".

Variables

Name Description
disk_size_gb
int

This property indicates the size of the VHD to be created.

host_caching

The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'. Known values are: "None", "ReadOnly", and "ReadWrite".