VirtualMachineScaleSet.UpdateStages.WithManagedDataDisk Interface
public static interface VirtualMachineScaleSet.UpdateStages.WithManagedDataDisk
The stage of a virtual machine scale set update allowing to specify managed data disks.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withNewDataDisk(int sizeInGB)
Specifies that a managed disk needs to be created implicitly with the given size. |
abstract
With |
withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType)
Specifies that a managed disk needs to be created implicitly with the given settings. |
abstract
With |
withNewDataDisk(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType)
Specifies that a managed disk needs to be created implicitly with the given settings. |
abstract
With |
withoutDataDisk(int lun)
Detaches managed data disk with the given LUN from the virtual machine scale set instances. |
Method Details
withNewDataDisk
public abstract VirtualMachineScaleSet.UpdateStages.WithApply withNewDataDisk(int sizeInGB)
Specifies that a managed disk needs to be created implicitly with the given size.
Parameters:
Returns:
withNewDataDisk
public abstract 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:
Returns:
withNewDataDisk
public abstract 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:
Returns:
withoutDataDisk
public abstract VirtualMachineScaleSet.UpdateStages.WithApply withoutDataDisk(int lun)
Detaches managed data disk with the given LUN from the virtual machine scale set instances.
Parameters:
Returns:
Applies to
Azure SDK for Java