你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Disk.DefinitionStages.WithWindowsDiskSource Interface
public interface WithWindowsDiskSource
The stage of a managed disk definition allowing to choose a Windows OS source.
Method Summary
Modifier and Type | Method and Description |
---|---|
Disk. |
withWindowsFromDisk(Disk sourceDisk)
Specifies a source Windows OS managed disk. |
Disk. |
withWindowsFromDisk(String sourceDiskId)
Specifies a source Windows OS managed disk. |
Disk. |
withWindowsFromSnapshot(Snapshot sourceSnapshot)
Specifies a source Windows OS managed snapshot. |
Disk. |
withWindowsFromSnapshot(String sourceSnapshotId)
Specifies a source Windows OS managed snapshot. |
Disk. |
withWindowsFromVhd(String vhdUrl)
Specifies a source specialized or generalized Windows OS VHD. |
Method Details
withWindowsFromDisk
public WithCreateAndSize withWindowsFromDisk(Disk sourceDisk)
Specifies a source Windows OS managed disk.
Parameters:
Returns:
withWindowsFromDisk
public WithCreateAndSize withWindowsFromDisk(String sourceDiskId)
Specifies a source Windows OS managed disk.
Parameters:
Returns:
withWindowsFromSnapshot
public WithCreateAndSize withWindowsFromSnapshot(Snapshot sourceSnapshot)
Specifies a source Windows OS managed snapshot.
Parameters:
Returns:
withWindowsFromSnapshot
public WithCreateAndSize withWindowsFromSnapshot(String sourceSnapshotId)
Specifies a source Windows OS managed snapshot.
Parameters:
Returns:
withWindowsFromVhd
public WithCreateAndSize withWindowsFromVhd(String vhdUrl)
Specifies a source specialized or generalized Windows OS VHD.
Parameters:
Returns: