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