Interface VirtualMachineScaleSetVM.Update

    • Method Detail

      • 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