Interface VirtualMachineScaleSet.UpdateStages.WithManagedDataDisk
-
- All Known Subinterfaces:
VirtualMachineScaleSet.Update,VirtualMachineScaleSet.UpdateStages.WithApply,VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancer,VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancerBackendOrNatPool,VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancerNatPool,VirtualMachineScaleSet.UpdateStages.WithPrimaryInternetFacingLoadBalancerBackendOrNatPool,VirtualMachineScaleSet.UpdateStages.WithPrimaryInternetFacingLoadBalancerNatPool,VirtualMachineScaleSet.UpdateStages.WithPrimaryLoadBalancer,VirtualMachineScaleSet.UpdateStages.WithSystemAssignedIdentityBasedAccessOrApply
- Enclosing interface:
- VirtualMachineScaleSet.UpdateStages
public static interface VirtualMachineScaleSet.UpdateStages.WithManagedDataDiskThe stage of a virtual machine scale set update allowing to specify managed data disks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachineScaleSet.UpdateStages.WithApplywithNewDataDisk(int sizeInGB)Specifies that a managed disk needs to be created implicitly with the given size.VirtualMachineScaleSet.UpdateStages.WithApplywithNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType)Specifies that a managed disk needs to be created implicitly with the given settings.VirtualMachineScaleSet.UpdateStages.WithApplywithNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType)Specifies that a managed disk needs to be created implicitly with the given settings.VirtualMachineScaleSet.UpdateStages.WithApplywithoutDataDisk(int lun)Detaches managed data disk with the given LUN from the virtual machine scale set instances.
-
-
-
Method Detail
-
withNewDataDisk
VirtualMachineScaleSet.UpdateStages.WithApply withNewDataDisk(int sizeInGB)
Specifies that a managed disk needs to be created implicitly with the given size.- Parameters:
sizeInGB- the size of the managed disk- Returns:
- the next stage of virtual machine scale set update
-
withNewDataDisk
VirtualMachineScaleSet.UpdateStages.WithApply withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType)
Specifies that a managed disk needs to be created implicitly with the given settings.- Parameters:
sizeInGB- the size of the managed disklun- the disk LUNcachingType- the caching type- Returns:
- the next stage of virtual machine scale set update
-
withNewDataDisk
VirtualMachineScaleSet.UpdateStages.WithApply withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType)
Specifies that a managed disk needs to be created implicitly with the given settings.- Parameters:
sizeInGB- the size of the managed disklun- the disk LUNcachingType- the caching typestorageAccountType- the storage account type- Returns:
- the next stage of virtual machine scale set update
-
withoutDataDisk
VirtualMachineScaleSet.UpdateStages.WithApply withoutDataDisk(int lun)
Detaches managed data disk with the given LUN from the virtual machine scale set instances.- Parameters:
lun- the disk LUN- Returns:
- the next stage of virtual machine scale set update
-
-