SharedGalleryDataDiskImage Class
This is the data disk image.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.compute.v2022_08_03.models._models_py3.SharedGalleryDiskImageSharedGalleryDataDiskImage
Constructor
SharedGalleryDataDiskImage(*, lun: int, 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". |
lun
|
This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine. Required. |
Variables
Name | Description |
---|---|
disk_size_gb
|
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". |
lun
|
This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine. Required. |
Azure SDK for Python