Interface VirtualMachineDataDisk
- All Superinterfaces:
com.azure.resourcemanager.resources.fluentcore.arm.models.HasId, com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<DataDisk>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
public interface VirtualMachineDataDisk
extends com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel<DataDisk>, com.azure.resourcemanager.resources.fluentcore.arm.models.HasName, com.azure.resourcemanager.resources.fluentcore.arm.models.HasId
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.arm.models.HasId
idMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
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
-
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
-
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
-