VirtualMachine.DefinitionStages.WithUnmanagedDataDisk Interface
public interface WithUnmanagedDataDisk
The stage of a virtual machine definition allowing to add an unmanaged data disk.
Method Summary
Modifier and Type | Method and Description |
---|---|
VirtualMachineUnmanagedDataDisk.DefinitionStages.Blank<Virtual |
defineUnmanagedDataDisk(String name)
Begins definition of an unmanaged data disk to be attached to the virtual machine. |
Virtual |
withExistingUnmanagedDataDisk(String storageAccountName, String containerName, String vhdName)
Attaches an existing unmanaged VHD as a data disk to the virtual machine. |
Virtual |
withNewUnmanagedDataDisk(Integer sizeInGB)
Attaches a new blank unmanaged data disk to the virtual machine. |
Method Details
defineUnmanagedDataDisk
public VirtualMachineUnmanagedDataDisk.DefinitionStages.Blank
Begins definition of an unmanaged data disk to be attached to the virtual machine.
Parameters:
Returns:
withExistingUnmanagedDataDisk
public WithUnmanagedCreate withExistingUnmanagedDataDisk(String storageAccountName, String containerName, String vhdName)
Attaches an existing unmanaged VHD as a data disk to the virtual machine.
Parameters:
Returns:
withNewUnmanagedDataDisk
public WithUnmanagedCreate withNewUnmanagedDataDisk(Integer sizeInGB)
Attaches a new blank unmanaged data disk to the virtual machine.
Parameters:
Returns:
Applies to
Azure SDK for Java