public static interface VirtualMachine.DefinitionStages.WithDataDisk
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineDataDisk.DefinitionStages.AttachExistingDataDisk<VirtualMachine.DefinitionStages.WithCreate> |
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.DefinitionStages.AttachNewDataDisk<VirtualMachine.DefinitionStages.WithCreate> |
defineNewDataDisk(String name)
Specifies a new blank data disk to be attached to the virtual machine along with it's configuration.
|
VirtualMachine.DefinitionStages.WithCreate |
withExistingDataDisk(String storageAccountName,
String containerName,
String vhdName)
Specifies an existing VHD that needs to be attached to the virtual machine as data disk.
|
VirtualMachine.DefinitionStages.WithCreate |
withNewDataDisk(Integer sizeInGB)
Specifies that a new blank data disk needs to be attached to virtual machine.
|
VirtualMachine.DefinitionStages.WithCreate withNewDataDisk(Integer sizeInGB)
sizeInGB - the disk size in GBVirtualMachine.DefinitionStages.WithCreate 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.DefinitionStages.AttachNewDataDisk<VirtualMachine.DefinitionStages.WithCreate> defineNewDataDisk(String name)
name - the name for the data diskVirtualMachineDataDisk.DefinitionStages.AttachExistingDataDisk<VirtualMachine.DefinitionStages.WithCreate> defineExistingDataDisk(String name)
name - the name for the data disk/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/