public static interface VirtualMachine.DefinitionStages.WithUnmanagedDataDisk
Modifier and Type | Method and Description |
---|---|
VirtualMachineUnmanagedDataDisk.DefinitionStages.Blank<VirtualMachine.DefinitionStages.WithUnmanagedCreate> |
defineUnmanagedDataDisk(String name)
Begins definition of an unmanaged data disk to be attached to the virtual machine.
|
VirtualMachine.DefinitionStages.WithUnmanagedCreate |
withExistingUnmanagedDataDisk(String storageAccountName,
String containerName,
String vhdName)
Attaches an existing unmanaged VHD as a data disk to the virtual machine.
|
VirtualMachine.DefinitionStages.WithUnmanagedCreate |
withNewUnmanagedDataDisk(Integer sizeInGB)
Attaches a new blank unmanaged data disk to the virtual machine.
|
VirtualMachine.DefinitionStages.WithUnmanagedCreate withNewUnmanagedDataDisk(Integer sizeInGB)
sizeInGB
- the disk size in GBVirtualMachine.DefinitionStages.WithUnmanagedCreate withExistingUnmanagedDataDisk(String storageAccountName, String containerName, String vhdName)
storageAccountName
- a storage account namecontainerName
- the name of the container holding the VHD filevhdName
- the name for the VHD fileVirtualMachineUnmanagedDataDisk.DefinitionStages.Blank<VirtualMachine.DefinitionStages.WithUnmanagedCreate> defineUnmanagedDataDisk(String name)
name
- the name for the data diskCopyright © 2019. All rights reserved.