GalleryDiskImage Class
This is the disk image base class.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.compute._serialization.ModelGalleryDiskImage
Constructor
GalleryDiskImage(*, host_caching: str | _models.HostCaching | None = None, source: _models.GalleryDiskImageSource | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
host_caching
|
str or
HostCaching
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. |
Variables
Name | Description |
---|---|
size_in_gb
|
This property indicates the size of the VHD to be created. |
host_caching
|
str or
HostCaching
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. |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python