ParentT - the stage of the parent update to return to after attaching this definitionpublic static interface VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithDiskSource<ParentT>
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithVhdAttachedDiskSettings<ParentT> |
withExistingVhd(String storageAccountName,
String containerName,
String vhdName)
Specifies the existing source VHD of the disk.
|
VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithNewVhdDiskSettings<ParentT> |
withNewVhd(int sizeInGB)
specifies that disk needs to be created with a new VHD of given size.
|
VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithVhdAttachedDiskSettings<ParentT> withExistingVhd(String storageAccountName, String containerName, String vhdName)
storageAccountName - the storage account namecontainerName - the name of the container holding VHD filevhdName - the name of the VHD file to attachVirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithNewVhdDiskSettings<ParentT> withNewVhd(int sizeInGB)
sizeInGB - the initial disk size in GB/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/