Uses of Class
com.azure.resourcemanager.compute.models.VirtualMachineScaleSetDataDisk
Packages that use VirtualMachineScaleSetDataDisk
Package
Description
Package containing the data models for ComputeManagementClient.
-
Uses of VirtualMachineScaleSetDataDisk in com.azure.resourcemanager.compute.models
Methods in com.azure.resourcemanager.compute.models that return VirtualMachineScaleSetDataDiskModifier and TypeMethodDescriptionVirtualMachineScaleSetDataDisk.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VirtualMachineScaleSetDataDisk from the JsonReader.VirtualMachineScaleSetDataDisk.withCaching(CachingTypes caching) Set the caching property: Specifies the caching requirements.VirtualMachineScaleSetDataDisk.withCreateOption(DiskCreateOptionTypes createOption) Set the createOption property: The create option.VirtualMachineScaleSetDataDisk.withDeleteOption(DiskDeleteOptionTypes deleteOption) Set the deleteOption property: Specifies whether data disk should be deleted or detached upon VMSS Flex deletion (This feature is available for VMSS with Flexible OrchestrationMode only).<br><br> Possible values: <br><br> **Delete** If this value is used, the data disk is deleted when the VMSS Flex VM is deleted.<br><br> **Detach** If this value is used, the data disk is retained after VMSS Flex VM is deleted.<br><br> The default value is set to **Delete**.VirtualMachineScaleSetDataDisk.withDiskIopsReadWrite(Long diskIopsReadWrite) Set the diskIopsReadWrite property: Specifies the Read-Write IOPS for the managed disk.VirtualMachineScaleSetDataDisk.withDiskMBpsReadWrite(Long diskMBpsReadWrite) Set the diskMBpsReadWrite property: Specifies the bandwidth in MB per second for the managed disk.VirtualMachineScaleSetDataDisk.withDiskSizeGB(Integer diskSizeGB) Set the diskSizeGB property: Specifies the size of an empty data disk in gigabytes.VirtualMachineScaleSetDataDisk.withLun(int lun) Set the lun property: Specifies the logical unit number of the data disk.VirtualMachineScaleSetDataDisk.withManagedDisk(VirtualMachineScaleSetManagedDiskParameters managedDisk) Set the managedDisk property: The managed disk parameters.Set the name property: The disk name.VirtualMachineScaleSetDataDisk.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 VirtualMachineScaleSetDataDiskModifier and TypeMethodDescriptionVirtualMachineScaleSetStorageProfile.dataDisks()Get the dataDisks property: Specifies the parameters that are used to add data disks to the virtual machines in the scale set.VirtualMachineScaleSetUpdateStorageProfile.dataDisks()Get the dataDisks property: The data disks.Method parameters in com.azure.resourcemanager.compute.models with type arguments of type VirtualMachineScaleSetDataDiskModifier and TypeMethodDescriptionVirtualMachineScaleSetStorageProfile.withDataDisks(List<VirtualMachineScaleSetDataDisk> dataDisks) Set the dataDisks property: Specifies the parameters that are used to add data disks to the virtual machines in the scale set.VirtualMachineScaleSetUpdateStorageProfile.withDataDisks(List<VirtualMachineScaleSetDataDisk> dataDisks) Set the dataDisks property: The data disks.