ImageDataDisk Class
Describes a data disk.
All required parameters must be populated in order to send to server.
- Inheritance
-
azure.mgmt.compute._serialization.ModelImageDataDisk
Constructor
ImageDataDisk(*, lun: int, snapshot: _models.SubResource | None = None, managed_disk: _models.SubResource | None = None, blob_uri: str | None = None, caching: str | _models.CachingTypes | None = None, disk_size_gb: int | None = None, storage_account_type: str | _models.StorageAccountTypes | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
lun
|
Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Required. |
snapshot
|
The snapshot. |
managed_disk
|
The managedDisk. |
blob_uri
|
The Virtual Hard Disk. |
caching
|
str or
CachingTypes
Specifies the caching requirements. |
disk_size_gb
|
Specifies the size of empty data disks in gigabytes. This element can be
used to overwrite the name of the disk in a virtual machine image. |
storage_account_type
|
Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or Premium_LRS. Known values are: "Standard_LRS" and "Premium_LRS". |
Variables
Name | Description |
---|---|
lun
|
Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Required. |
snapshot
|
The snapshot. |
managed_disk
|
The managedDisk. |
blob_uri
|
The Virtual Hard Disk. |
caching
|
str or
CachingTypes
Specifies the caching requirements. |
disk_size_gb
|
Specifies the size of empty data disks in gigabytes. This element can be
used to overwrite the name of the disk in a virtual machine image. |
storage_account_type
|
Specifies the storage account type for the managed disk. Possible values are: Standard_LRS or Premium_LRS. Known values are: "Standard_LRS" and "Premium_LRS". |
Azure SDK for Python