ImageDisk Class
Describes a image disk.
Constructor
ImageDisk(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
snapshot
|
The snapshot. |
|
managed_disk
|
The managedDisk. |
|
blob_uri
|
The Virtual Hard Disk. |
|
caching
|
str or
CachingTypes
Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.. Known values are: "None", "ReadOnly", and "ReadWrite". |
|
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. This value cannot be larger than 1023 GB. |
|
storage_account_type
|
Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Known values are: "Standard_LRS", "Premium_LRS", "StandardSSD_LRS", "UltraSSD_LRS", "Premium_ZRS", "StandardSSD_ZRS", and "PremiumV2_LRS". |
|
disk_encryption_set
|
Specifies the customer managed disk encryption set resource id for the managed image disk. |
Attributes
blob_uri
The Virtual Hard Disk.
blob_uri: str | None
caching
None, ReadOnly, ReadWrite. The default values are: None for Standard storage. ReadOnly for Premium storage.. Known values are: "None", "ReadOnly", and "ReadWrite".
caching: str | _models.CachingTypes | None
disk_encryption_set
Specifies the customer managed disk encryption set resource id for the managed image disk.
disk_encryption_set: _models.DiskEncryptionSetParameters | None
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. This value cannot be larger than 1023 GB.
disk_size_gb: int | None
managed_disk
The managedDisk.
managed_disk: _models.SubResource | None
snapshot
The snapshot.
snapshot: _models.SubResource | None
storage_account_type
UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk. Known values are: "Standard_LRS", "Premium_LRS", "StandardSSD_LRS", "UltraSSD_LRS", "Premium_ZRS", "StandardSSD_ZRS", and "PremiumV2_LRS".
storage_account_type: str | _models.StorageAccountTypes | None