VirtualMachineUnmanagedDataDisk Interface
Implements
public interface VirtualMachineUnmanagedDataDisk
extends HasInnerModel<DataDisk>, ChildResource<VirtualMachine>
A native 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 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 String |
sourceImageUri()
Uri to the source virtual hard disk user image from which this disk was created. |
abstract String |
vhdUri()
Gets URI to the virtual hard disk backing this data disk. |
Method Details
cachingType
public abstract CachingTypes cachingType()
Gets the disk caching type.
possible values are: 'None', 'ReadOnly', 'ReadWrite'
Returns:
creationMethod
public abstract DiskCreateOptionTypes creationMethod()
Gets the creation method used while creating this disk.
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:
sourceImageUri
public abstract String sourceImageUri()
Uri to the source virtual hard disk user image from which this disk was created.
null will be returned if this disk is not based on an image
Returns:
vhdUri
public abstract String vhdUri()
Gets URI to the virtual hard disk backing this data disk.
Returns:
Applies to
Azure SDK for Java