GalleryDiskImage Class

This is the disk image base class.

Constructor

GalleryDiskImage(*args: Any, **kwargs: Any)

Variables

Name Description
size_in_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".

source

The source for the disk image.

Attributes

host_caching

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

host_caching: str | _models.HostCaching | None

size_in_gb

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

size_in_gb: int | None

source

The source for the disk image.

source: _models.GalleryDiskImageSource | None