VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithDiskSource<ParentT> Interface
Type Parameters
- ParentT
the stage of the parent update to return to after attaching this definition
public static interface VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithDiskSource
The stage of the data disk definition allowing to choose the source.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withExistingVhd(String storageAccountName, String containerName, String vhdName)
Specifies the existing source VHD of the disk. |
abstract
With |
withNewVhd(int sizeInGB)
specifies that disk needs to be created with a new VHD of given size. |
Method Details
withExistingVhd
public abstract VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithVhdAttachedDiskSettings
Specifies the existing source VHD of the disk.
Parameters:
Returns:
withNewVhd
public abstract VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithNewVhdDiskSettings
specifies that disk needs to be created with a new VHD of given size.
Parameters:
Returns:
Applies to
Azure SDK for Java