Interface VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithDiskSource<ParentT>
-
- Type Parameters:
ParentT- the stage of the parent update to return to after attaching this definition
- All Known Subinterfaces:
VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.Blank<ParentT>,VirtualMachineUnmanagedDataDisk.UpdateDefinitionWithExistingVhd<ParentT>,VirtualMachineUnmanagedDataDisk.UpdateDefinitionWithNewVhd<ParentT>
- Enclosing interface:
- VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages
public static interface VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithDiskSource<ParentT>The stage of the data disk definition allowing to choose the source.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithVhdAttachedDiskSettings<ParentT>withExistingVhd(String storageAccountName, String containerName, String vhdName)Specifies the existing source VHD of the disk.VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithNewVhdDiskSettings<ParentT>withNewVhd(int sizeInGB)specifies that disk needs to be created with a new VHD of given size.
-
-
-
Method Detail
-
withExistingVhd
VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithVhdAttachedDiskSettings<ParentT> withExistingVhd(String storageAccountName, String containerName, String vhdName)
Specifies the existing source VHD of the disk.- Parameters:
storageAccountName- the storage account namecontainerName- the name of the container holding VHD filevhdName- the name of the VHD file to attach- Returns:
- the next stage of data disk definition
-
withNewVhd
VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithNewVhdDiskSettings<ParentT> withNewVhd(int sizeInGB)
specifies that 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 data disk definition
-
-