public static interface VirtualMachineScaleSetVM.Update extends Appliable<VirtualMachineScaleSetVM>
Modifier and Type | Method and Description |
---|---|
VirtualMachineScaleSetVM.Update |
withExistingDataDisk(Disk dataDisk,
int lun,
CachingTypes cachingTypes)
Attaches an existing data disk to this VMSS virtual machine.
|
VirtualMachineScaleSetVM.Update |
withExistingDataDisk(Disk dataDisk,
int lun,
CachingTypes cachingTypes,
StorageAccountTypes storageAccountTypes)
Attaches an existing data disk to this VMSS virtual machine.
|
VirtualMachineScaleSetVM.Update |
withoutDataDisk(int lun)
Detaches an existing data disk from this VMSS virtual machine.
|
apply, applyAsync
VirtualMachineScaleSetVM.Update withExistingDataDisk(Disk dataDisk, int lun, CachingTypes cachingTypes)
dataDisk
- data disk, need to be in DiskState.UNATTACHED statelun
- the disk LUN, cannot conflict with existing LUNscachingTypes
- the caching typeVirtualMachineScaleSetVM.Update withExistingDataDisk(Disk dataDisk, int lun, CachingTypes cachingTypes, StorageAccountTypes storageAccountTypes)
dataDisk
- data disk, need to be in DiskState.UNATTACHED statelun
- the disk LUN, cannot conflict with existing LUNscachingTypes
- the caching typestorageAccountTypes
- the storage account typeVirtualMachineScaleSetVM.Update withoutDataDisk(int lun)
lun
- the disk LUNCopyright © 2020 Microsoft Corporation. All rights reserved.