ParentT - the stage of the parent definition to return to after attaching this definitionpublic static interface VirtualMachineUnmanagedDataDisk.DefinitionStages.WithDiskSource<ParentT>
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT> |
fromImage(int imageLun)
Specifies the image LUN identifier of the source disk image.
|
VirtualMachineUnmanagedDataDisk.DefinitionStages.WithVhdAttachedDiskSettings<ParentT> |
withExistingVhd(String storageAccountName,
String containerName,
String vhdName)
Specifies the existing source VHD of the disk.
|
VirtualMachineUnmanagedDataDisk.DefinitionStages.WithNewVhdDiskSettings<ParentT> |
withNewVhd(int sizeInGB)
specifies that disk needs to be created with a new VHD of given size.
|
VirtualMachineUnmanagedDataDisk.DefinitionStages.WithVhdAttachedDiskSettings<ParentT> withExistingVhd(String storageAccountName, String containerName, String vhdName)
storageAccountName - the storage account namecontainerName - the name of the container holding VHD filevhdName - the name of the VHD file to attachVirtualMachineUnmanagedDataDisk.DefinitionStages.WithNewVhdDiskSettings<ParentT> withNewVhd(int sizeInGB)
sizeInGB - the initial disk size in GBVirtualMachineUnmanagedDataDisk.DefinitionStages.WithFromImageDiskSettings<ParentT> fromImage(int imageLun)
imageLun - the LUNCopyright © 2019. All rights reserved.