VirtualMachineUnmanagedDataDisk Interface

public interface VirtualMachineUnmanagedDataDisk extends HasInner,ChildResource

A native data disk of a virtual machine.

Method Summary

Modifier and Type Method and Description
CachingTypes cachingType()

Gets the disk caching type.

possible values are: 'None', 'ReadOnly', 'ReadWrite'

DiskCreateOptionTypes creationMethod()
int lun()
int size()
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

String vhdUri()

Inherited Members

Method Details

cachingType

public CachingTypes cachingType()

Gets the disk caching type.

possible values are: 'None', 'ReadOnly', 'ReadWrite'

Returns:

the 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

sourceImageUri

public 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:

the URI of the source VHD image

vhdUri

public String vhdUri()

Returns:

URI to the virtual hard disk backing this data disk

Applies to