VirtualMachineDataDisk Interface
Implements
public interface VirtualMachineDataDisk
extends HasInnerModel<DataDisk>, HasName, HasId
A managed data disk of a virtual machine.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Caching |
cachingType()
Gets the disk caching type. |
abstract
Disk |
creationMethod()
Gets the creation method used while creating this disk. |
abstract
Delete |
deleteOptions()
Gets the disk delete options. |
abstract String |
diskEncryptionSetId()
Gets the ID of disk encryption set. |
abstract boolean |
isWriteAcceleratorEnabled()
Gets whether the write accelerator is enabled. |
abstract int |
lun()
Gets the logical unit number assigned to this data disk. |
abstract int |
size()
Gets the size of this data disk in GB. |
abstract
Storage |
storageAccountType()
Gets the storage account type of the disk. |
Method Details
cachingType
public abstract CachingTypes cachingType()
Gets the disk caching type.
Returns:
creationMethod
public abstract DiskCreateOptionTypes creationMethod()
Gets the creation method used while creating this disk.
Returns:
deleteOptions
public abstract DeleteOptions deleteOptions()
Gets the disk delete options.
Returns:
diskEncryptionSetId
public abstract String diskEncryptionSetId()
Gets the ID of disk encryption set.
Returns:
isWriteAcceleratorEnabled
public abstract boolean isWriteAcceleratorEnabled()
Gets whether the write accelerator is enabled.
Returns:
lun
public abstract int lun()
Gets the logical unit number assigned to this data disk.
Returns:
size
public abstract int size()
Gets the size of this data disk in GB.
Returns:
storageAccountType
public abstract StorageAccountTypes storageAccountType()
Gets the storage account type of the disk.
Returns:
Applies to
Azure SDK for Java