VirtualMachineDataDisk Interface
public interface VirtualMachineDataDisk extends HasInner,HasName,HasId
A managed data disk of a virtual machine.
Method Summary
Modifier and Type | Method and Description |
---|---|
Caching |
cachingType() |
Disk |
creationMethod() |
int | lun() |
int | size() |
Storage |
storageAccountType() |
Inherited Members
Method Details
cachingType
public CachingTypes cachingType()
Returns:
the disk caching type
creationMethod
public DiskCreateOptionTypes creationMethod()
Returns:
the creation method used while creating this disk
lun
public int lun()
Returns:
the logical unit number assigned to this data disk
size
public int size()
Returns:
the size of this data disk in GB
storageAccountType
public StorageAccountTypes storageAccountType()
Returns:
the storage account type of the disk
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java