Interface VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages.WithDiskSource<ParentT>
- Type Parameters:
ParentT
- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages.Blank<ParentT>
,VirtualMachineScaleSetUnmanagedDataDisk.DefinitionWithImage<ParentT>
,VirtualMachineScaleSetUnmanagedDataDisk.DefinitionWithNewVhd<ParentT>
- Enclosing interface:
- VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages
public static interface VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages.WithDiskSource<ParentT>
The stage of the unmanaged data disk definition allowing to choose the source.
-
Method Summary
Modifier and TypeMethodDescriptionfromImage
(int imageLun) Specifies the image LUN identifier of the source disk image.withNewVhd
(int sizeInGB) specifies that unmanaged disk needs to be created with a new VHD of given size.
-
Method Details
-
withNewVhd
VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages.WithNewVhdDiskSettings<ParentT> withNewVhd(int sizeInGB) specifies that unmanaged disk needs to be created with a new VHD of given size.- Parameters:
sizeInGB
- the initial disk size in GB- Returns:
- the next stage of unmanaged data disk definition
-
fromImage
VirtualMachineScaleSetUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT> fromImage(int imageLun) Specifies the image LUN identifier of the source disk image.- Parameters:
imageLun
- the LUN- Returns:
- the next stage of unmanaged data disk definition
-