Interface VirtualMachineUnmanagedDataDisk
-
- All Superinterfaces:
ChildResource<VirtualMachine>,HasInnerModel<DataDisk>,HasName,HasParent<VirtualMachine>,Indexable
public interface VirtualMachineUnmanagedDataDisk extends HasInnerModel<DataDisk>, ChildResource<VirtualMachine>
A native data disk of a virtual machine.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceVirtualMachineUnmanagedDataDisk.DefinitionStagesGrouping of data disk definition stages applicable as part of a virtual machine creation.static interfaceVirtualMachineUnmanagedDataDisk.DefinitionWithExistingVhd<ParentT>The entirety of a unmanaged data disk of a virtual machine scale set definition.static interfaceVirtualMachineUnmanagedDataDisk.DefinitionWithImage<ParentT>The entirety of a unmanaged data disk of a virtual machine scale set definition.static interfaceVirtualMachineUnmanagedDataDisk.DefinitionWithNewVhd<ParentT>The entirety of a unmanaged data disk of a virtual machine scale set definition.static interfaceVirtualMachineUnmanagedDataDisk.UpdateThe entirety of a data disk update as part of a virtual machine update.static interfaceVirtualMachineUnmanagedDataDisk.UpdateDefinitionStagesGrouping of data disk definition stages applicable as part of a virtual machine update.static interfaceVirtualMachineUnmanagedDataDisk.UpdateDefinitionWithExistingVhd<ParentT>The entirety of a unmanaged data disk of a virtual machine scale set update.static interfaceVirtualMachineUnmanagedDataDisk.UpdateDefinitionWithNewVhd<ParentT>The entirety of a unmanaged data disk of a virtual machine scale set update.static interfaceVirtualMachineUnmanagedDataDisk.UpdateStagesGrouping of data disk update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CachingTypescachingType()Gets the disk caching type.DiskCreateOptionTypescreationMethod()intlun()intsize()StringsourceImageUri()Uri to the source virtual hard disk user image from which this disk was created.StringvhdUri()-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
-
-
-
Method Detail
-
size
int size()
- Returns:
- the size of this data disk in GB
-
lun
int lun()
- Returns:
- the logical unit number assigned to this data disk
-
vhdUri
String vhdUri()
- Returns:
- URI to the virtual hard disk backing this data disk
-
cachingType
CachingTypes cachingType()
Gets the disk caching type.possible values are: 'None', 'ReadOnly', 'ReadWrite'
- Returns:
- the caching type
-
sourceImageUri
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
-
creationMethod
DiskCreateOptionTypes creationMethod()
- Returns:
- the creation method used while creating this disk
-
-