Interface VirtualMachineScaleSetVM.Update

All Superinterfaces:
Appliable<VirtualMachineScaleSetVM>, Indexable
Enclosing interface:
VirtualMachineScaleSetVM

public static interface VirtualMachineScaleSetVM.Update extends Appliable<VirtualMachineScaleSetVM>
The template for an update operation, containing all the settings that can be modified.
  • Method Details

    • withExistingDataDisk

      VirtualMachineScaleSetVM.Update withExistingDataDisk(Disk dataDisk, int lun, CachingTypes cachingTypes)
      Attaches an existing data disk to this VMSS virtual machine.
      Parameters:
      dataDisk - data disk, need to be in DiskState.UNATTACHED state
      lun - the disk LUN, cannot conflict with existing LUNs
      cachingTypes - the caching type
      Returns:
      the next stage of the update
    • withExistingDataDisk

      VirtualMachineScaleSetVM.Update withExistingDataDisk(Disk dataDisk, int lun, CachingTypes cachingTypes, StorageAccountTypes storageAccountTypes)
      Attaches an existing data disk to this VMSS virtual machine.
      Parameters:
      dataDisk - data disk, need to be in DiskState.UNATTACHED state
      lun - the disk LUN, cannot conflict with existing LUNs
      cachingTypes - the caching type
      storageAccountTypes - the storage account type
      Returns:
      the next stage of the update
    • withoutDataDisk

      VirtualMachineScaleSetVM.Update withoutDataDisk(int lun)
      Detaches an existing data disk from this VMSS virtual machine.
      Parameters:
      lun - the disk LUN
      Returns:
      the next stage of the update