Interface VirtualMachineDataDisk
- All Superinterfaces:
HasId,HasInnerModel<DataDisk>,HasName
A managed data disk of a virtual machine.
-
Method Summary
Modifier and TypeMethodDescriptionGets the disk caching type.Gets the creation method used while creating this disk.Gets the disk delete options.Gets the ID of disk encryption set.booleanGets whether the write accelerator is enabled.intlun()Gets the logical unit number assigned to this data disk.intsize()Gets the size of this data disk in GB.Gets the storage account type of the disk.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
Method Details
-
size
int size()Gets the size of this data disk in GB.- Returns:
- the size of this data disk in GB
-
lun
int lun()Gets the logical unit number assigned to this data disk.- Returns:
- the logical unit number assigned to this data disk
-
cachingType
CachingTypes cachingType()Gets the disk caching type.- Returns:
- the disk caching type
-
creationMethod
DiskCreateOptionTypes creationMethod()Gets the creation method used while creating this disk.- Returns:
- the creation method used while creating this disk
-
storageAccountType
StorageAccountTypes storageAccountType()Gets the storage account type of the disk.- Returns:
- the storage account type of the disk
-
deleteOptions
DeleteOptions deleteOptions()Gets the disk delete options.- Returns:
- the disk delete options
-
diskEncryptionSetId
String diskEncryptionSetId()Gets the ID of disk encryption set.- Returns:
- the ID of disk encryption set
-
isWriteAcceleratorEnabled
boolean isWriteAcceleratorEnabled()Gets whether the write accelerator is enabled.- Returns:
- whether the write accelerator is enabled
-