Interface VirtualMachineScaleSetVM.Update
- All Superinterfaces:
Appliable<VirtualMachineScaleSetVM>
,Indexable
- Enclosing interface:
- VirtualMachineScaleSetVM
The template for an update operation, containing all the settings that can be modified.
-
Method Summary
Modifier and TypeMethodDescriptionwithExistingDataDisk
(Disk dataDisk, int lun, CachingTypes cachingTypes) Attaches an existing data disk to this VMSS virtual machine.withExistingDataDisk
(Disk dataDisk, int lun, CachingTypes cachingTypes, StorageAccountTypes storageAccountTypes) Attaches an existing data disk to this VMSS virtual machine.withoutDataDisk
(int lun) Detaches an existing data disk from this VMSS virtual machine.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Appliable
apply, applyAsync, applyAsync
-
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 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
Detaches an existing data disk from this VMSS virtual machine.- Parameters:
lun
- the disk LUN- Returns:
- the next stage of the update
-