Uses of Class
com.microsoft.azure.management.compute.DataDisk
Package
Description
This package contains the classes for ComputeManagementClient.
-
Uses of DataDisk in com.microsoft.azure.management.compute
Modifier and TypeMethodDescriptionDataDisk.withCaching
(CachingTypes caching) Set specifies the caching requirements.DataDisk.withCreateOption
(DiskCreateOptionTypes createOption) Set specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** – This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** – This value is used when you are using an image to create the virtual machine.DataDisk.withDetachOption
(DiskDetachOptionTypes detachOption) Set specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine.DataDisk.withDiskSizeGB
(Integer diskSizeGB) Set specifies the size of an empty data disk in gigabytes.DataDisk.withImage
(VirtualHardDisk image) Set the source user image virtual hard disk.DataDisk.withLun
(int lun) Set specifies the logical unit number of the data disk.DataDisk.withManagedDisk
(ManagedDiskParameters managedDisk) Set the managed disk parameters.Set the disk name.DataDisk.withToBeDetached
(Boolean toBeDetached) Set specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset.DataDisk.withVhd
(VirtualHardDisk vhd) Set the virtual hard disk.DataDisk.withWriteAcceleratorEnabled
(Boolean writeAcceleratorEnabled) Set specifies whether writeAccelerator should be enabled or disabled on the disk.Modifier and TypeMethodDescriptionStorageProfile.dataDisks()
Get specifies the parameters that are used to add a data disk to a virtual machine.Modifier and TypeMethodDescriptionStorageProfile.withDataDisks
(List<DataDisk> dataDisks) Set specifies the parameters that are used to add a data disk to a virtual machine.