Uses of Class
com.azure.resourcemanager.compute.models.DataDisk
Packages that use DataDisk
Package
Description
Package containing the data models for ComputeManagementClient.
-
Uses of DataDisk in com.azure.resourcemanager.compute.models
Methods in com.azure.resourcemanager.compute.models that return DataDiskModifier and TypeMethodDescriptionDataDisk.withCaching(CachingTypes caching) Set the caching property: Specifies the caching requirements.DataDisk.withCreateOption(DiskCreateOptionTypes createOption) Set the createOption property: Specifies how the virtual machine should be created.DataDisk.withDeleteOption(DiskDeleteOptionTypes deleteOption) Set the deleteOption property: Specifies whether data disk should be deleted or detached upon VM deletion.DataDisk.withDetachOption(DiskDetachOptionTypes detachOption) Set the detachOption property: 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 the diskSizeGB property: Specifies the size of an empty data disk in gigabytes.DataDisk.withImage(VirtualHardDisk image) Set the image property: The source user image virtual hard disk.DataDisk.withLun(int lun) Set the lun property: Specifies the logical unit number of the data disk.DataDisk.withManagedDisk(ManagedDiskParameters managedDisk) Set the managedDisk property: The managed disk parameters.Set the name property: The disk name.DataDisk.withToBeDetached(Boolean toBeDetached) Set the toBeDetached property: Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset.DataDisk.withVhd(VirtualHardDisk vhd) Set the vhd property: The virtual hard disk.DataDisk.withWriteAcceleratorEnabled(Boolean writeAcceleratorEnabled) Set the writeAcceleratorEnabled property: Specifies whether writeAccelerator should be enabled or disabled on the disk.Methods in com.azure.resourcemanager.compute.models that return types with arguments of type DataDiskModifier and TypeMethodDescriptionStorageProfile.dataDisks()Get the dataDisks property: Specifies the parameters that are used to add a data disk to a virtual machine.Method parameters in com.azure.resourcemanager.compute.models with type arguments of type DataDiskModifier and TypeMethodDescriptionStorageProfile.withDataDisks(List<DataDisk> dataDisks) Set the dataDisks property: Specifies the parameters that are used to add a data disk to a virtual machine.