public static interface VirtualMachine.UpdateStages.WithDataDisk
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineDataDisk.UpdateDefinitionStages.AttachExistingDataDisk<VirtualMachine.Update> |
defineExistingDataDisk(String name)
Specifies an existing VHD that needs to be attached to the virtual machine as data disk along with
it's configuration.
|
VirtualMachineDataDisk.UpdateDefinitionStages.AttachNewDataDisk<VirtualMachine.Update> |
defineNewDataDisk(String name)
Specifies a new blank data disk to be attached to the virtual machine along with it's configuration.
|
VirtualMachineDataDisk.Update |
updateDataDisk(String name)
Begins the description of an update of an existing data disk of this virtual machine.
|
VirtualMachine.Update |
withExistingDataDisk(String storageAccountName,
String containerName,
String vhdName)
Specifies an existing VHD that needs to be attached to the virtual machine as data disk.
|
VirtualMachine.Update |
withNewDataDisk(Integer sizeInGB)
Specifies that a new blank data disk needs to be attached to virtual machine.
|
VirtualMachine.Update |
withoutDataDisk(int lun)
Detaches a data disk with the given logical unit number from the virtual machine.
|
VirtualMachine.Update |
withoutDataDisk(String name)
Detaches a data disk with the given name from the virtual machine.
|
VirtualMachine.Update withNewDataDisk(Integer sizeInGB)
sizeInGB - the disk size in GBVirtualMachine.Update withExistingDataDisk(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 fileVirtualMachineDataDisk.UpdateDefinitionStages.AttachNewDataDisk<VirtualMachine.Update> defineNewDataDisk(String name)
name - the name for the data diskVirtualMachineDataDisk.UpdateDefinitionStages.AttachExistingDataDisk<VirtualMachine.Update> defineExistingDataDisk(String name)
name - the name for the data diskVirtualMachineDataDisk.Update updateDataDisk(String name)
name - the name of the diskVirtualMachine.Update withoutDataDisk(String name)
name - the name of the data disk to removeVirtualMachine.Update withoutDataDisk(int lun)
lun - the logical unit number of the data disk to remove/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/