GalleryOSDiskImage 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.v2019_07_01.models._models_py3.GalleryDiskImage
GalleryOSDiskImage

Constructor

GalleryOSDiskImage(*, host_caching: Optional[Union[str, azure.mgmt.compute.v2019_07_01.models._compute_management_client_enums.HostCaching]] = None, source: Optional[azure.mgmt.compute.v2019_07_01.models._models_py3.GalleryArtifactVersionSource] = None, **kwargs)

Parameters

host_caching
str or HostCaching
Required

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

source
GalleryArtifactVersionSource
Required

The gallery artifact version source.

Variables

size_in_gb
int

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