Interface VirtualMachineScaleSet.DefinitionStages.WithManagedDataDisk
- All Known Subinterfaces:
VirtualMachineScaleSet.DefinitionManaged
,VirtualMachineScaleSet.DefinitionManagedOrUnmanaged
,VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManaged
,VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManagedOrUnmanaged
,VirtualMachineScaleSet.DefinitionStages.WithManagedCreate
,VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateManaged
,VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateManagedOrUnmanaged
- Enclosing interface:
- VirtualMachineScaleSet.DefinitionStages
public static interface VirtualMachineScaleSet.DefinitionStages.WithManagedDataDisk
The stage of a virtual machine scale set definition allowing to specify managed data disks.
-
Method Summary
Modifier and TypeMethodDescriptionwithNewDataDisk
(int sizeInGB) Specifies that a managed disk needs to be created implicitly with the given size.withNewDataDisk
(int sizeInGB, int lun, CachingTypes cachingType) Specifies that a managed disk needs to be created implicitly with the given settings.withNewDataDisk
(int sizeInGB, int lun, CachingTypes cachingType, StorageAccountTypes storageAccountType) Specifies that a managed disk needs to be created implicitly with the given settings.withNewDataDiskFromImage
(int imageLun) Specifies the data disk to be created from the data disk image in the virtual machine image.withNewDataDiskFromImage
(int imageLun, int newSizeInGB, CachingTypes cachingType) Specifies the data disk to be created from the data disk image in the virtual machine image.withNewDataDiskFromImage
(int imageLun, int newSizeInGB, CachingTypes cachingType, StorageAccountTypes storageAccountType) Specifies the data disk to be created from the data disk image in the virtual machine image.
-
Method Details
-
withNewDataDisk
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 definition
-
withNewDataDisk
VirtualMachineScaleSet.DefinitionStages.WithManagedCreate 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 definition
-
withNewDataDisk
VirtualMachineScaleSet.DefinitionStages.WithManagedCreate 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 definition
-
withNewDataDiskFromImage
Specifies the data disk to be created from the data disk image in the virtual machine image.- Parameters:
imageLun
- the LUN of the source data disk image- Returns:
- the next stage of virtual machine definition
-
withNewDataDiskFromImage
VirtualMachineScaleSet.DefinitionStages.WithManagedCreate withNewDataDiskFromImage(int imageLun, int newSizeInGB, CachingTypes cachingType) Specifies the data disk to be created from the data disk image in the virtual machine image.- Parameters:
imageLun
- the LUN of the source data disk imagenewSizeInGB
- the new size that overrides the default size specified in the data disk imagecachingType
- the caching type- Returns:
- the next stage of virtual machine definition
-
withNewDataDiskFromImage
VirtualMachineScaleSet.DefinitionStages.WithManagedCreate withNewDataDiskFromImage(int imageLun, int newSizeInGB, CachingTypes cachingType, StorageAccountTypes storageAccountType) Specifies the data disk to be created from the data disk image in the virtual machine image.- Parameters:
imageLun
- the LUN of the source data disk imagenewSizeInGB
- the new size that overrides the default size specified in the data disk imagecachingType
- the caching typestorageAccountType
- the storage account type- Returns:
- the next stage of virtual machine definition
-