Uses of Class
com.azure.resourcemanager.compute.models.VirtualMachineDiskOptions
Packages that use VirtualMachineDiskOptions
Package
Description
Package containing the data models for ComputeManagementClient.
-
Uses of VirtualMachineDiskOptions in com.azure.resourcemanager.compute.models
Methods in com.azure.resourcemanager.compute.models that return VirtualMachineDiskOptionsModifier and TypeMethodDescriptionVirtualMachineDiskOptions.withCachingTypes(CachingTypes cachingTypes) Sets the caching type.VirtualMachineDiskOptions.withDeleteOptions(DeleteOptions deleteOptions) Sets the delete options of the disk, when the virtual machine is deleted.VirtualMachineDiskOptions.withDiskEncryptionSet(String diskEncryptionSetId) Sets the ID of disk encryption set.VirtualMachineDiskOptions.withStorageAccountTypes(StorageAccountTypes storageAccountType) Sets the storage account type.VirtualMachineDiskOptions.withWriteAcceleratorEnabled(boolean writeAcceleratorEnabled) Enables/disables the write accelerator.Methods in com.azure.resourcemanager.compute.models with parameters of type VirtualMachineDiskOptionsModifier and TypeMethodDescriptionVirtualMachine.DefinitionStages.WithManagedDataDisk.withExistingDataDisk(Disk disk, int newSizeInGB, int lun, VirtualMachineDiskOptions options) Associates an existing source managed disk with the virtual machine and specifies additional settings.VirtualMachine.UpdateStages.WithManagedDataDisk.withExistingDataDisk(Disk disk, int newSizeInGB, int lun, VirtualMachineDiskOptions options) Associates an existing source managed disk with the virtual machine and specifies additional settings.VirtualMachine.DefinitionStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB, int lun, VirtualMachineDiskOptions options) Specifies that a managed disk needs to be created implicitly with the given settings.VirtualMachine.UpdateStages.WithManagedDataDisk.withNewDataDisk(int sizeInGB, int lun, VirtualMachineDiskOptions options) Specifies that a managed disk needs to be created implicitly with the given settings.VirtualMachine.DefinitionStages.WithManagedDataDisk.withNewDataDiskFromImage(int imageLun, int newSizeInGB, VirtualMachineDiskOptions options) Specifies the data disk to be created from the data disk image in the virtual machine image.