你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachineUnmanagedDataDisk.UpdateDefinitionStages.WithDiskSource<ParentT> Interface
Type Parameters
- ParentT
the stage of the parent update to return to after attaching this definition
public interface WithDiskSource
The stage of the data disk definition allowing to choose the source.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
withExistingVhd(String storageAccountName, String containerName, String vhdName)
Specifies the existing source VHD of the disk. |
Virtual |
withNewVhd(int sizeInGB)
specifies that disk needs to be created with a new VHD of given size. |
Method Details
withExistingVhd
public WithVhdAttachedDiskSettings
Specifies the existing source VHD of the disk.
Parameters:
Returns:
withNewVhd
public WithNewVhdDiskSettings
specifies that disk needs to be created with a new VHD of given size.
Parameters:
Returns: