public static interface VirtualMachine.UpdateStages.WithUnmanagedDataDisk
Modifier and Type | Method and Description |
---|---|
VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.Blank<VirtualMachine.Update> |
defineUnmanagedDataDisk(String name)
Begins the definition of a blank unmanaged data disk to be attached to the virtual machine along with its configuration.
|
VirtualMachineUnmanagedDataDisk.Update |
updateUnmanagedDataDisk(String name)
Begins the description of an update of an existing unmanaged data disk of this virtual machine.
|
VirtualMachine.Update |
withExistingUnmanagedDataDisk(String storageAccountName,
String containerName,
String vhdName)
Specifies an existing VHD that needs to be attached to the virtual machine as data disk.
|
VirtualMachine.Update |
withNewUnmanagedDataDisk(Integer sizeInGB)
Specifies that a new blank unmanaged data disk needs to be attached to virtual machine.
|
VirtualMachine.Update |
withoutUnmanagedDataDisk(int lun)
Detaches a unmanaged data disk from the virtual machine.
|
VirtualMachine.Update |
withoutUnmanagedDataDisk(String name)
Detaches an unmanaged data disk from the virtual machine.
|
VirtualMachine.Update withNewUnmanagedDataDisk(Integer sizeInGB)
sizeInGB
- the disk size in GBVirtualMachine.Update withExistingUnmanagedDataDisk(String storageAccountName, String containerName, String vhdName)
storageAccountName
- the storage account namecontainerName
- the name of the container holding the VHD filevhdName
- the name for the VHD fileVirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.Blank<VirtualMachine.Update> defineUnmanagedDataDisk(String name)
name
- the name for the data diskVirtualMachineUnmanagedDataDisk.Update updateUnmanagedDataDisk(String name)
name
- the name of an existing diskVirtualMachine.Update withoutUnmanagedDataDisk(String name)
name
- the name of an existing data disk to removeVirtualMachine.Update withoutUnmanagedDataDisk(int lun)
lun
- the logical unit number of the data disk to removeCopyright © 2019. All rights reserved.