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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachineScaleSetVM.UpdatewithExistingDataDisk(Disk dataDisk, int lun, CachingTypes cachingTypes)Attaches an existing data disk to this VMSS virtual machine.VirtualMachineScaleSetVM.UpdatewithExistingDataDisk(Disk dataDisk, int lun, CachingTypes cachingTypes, StorageAccountTypes storageAccountTypes)Attaches an existing data disk to this VMSS virtual machine.VirtualMachineScaleSetVM.UpdatewithoutDataDisk(int lun)Detaches an existing data disk from this VMSS virtual machine.-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Appliable
apply, apply, applyAsync, applyAsync
-
-
-
-
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 statelun- the disk LUN, cannot conflict with existing LUNscachingTypes- 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 statelun- the disk LUN, cannot conflict with existing LUNscachingTypes- the caching typestorageAccountTypes- 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
-
-