Interface Disk.DefinitionStages.WithWindowsDiskSource
- All Known Subinterfaces:
Disk.Definition,Disk.DefinitionStages.WithDiskSource
- Enclosing interface:
- Disk.DefinitionStages
public static interface Disk.DefinitionStages.WithWindowsDiskSource
The stage of a managed disk definition allowing to choose a Windows OS source.
-
Method Summary
Modifier and TypeMethodDescriptionwithWindowsFromDisk(Disk sourceDisk) Specifies a source Windows OS managed disk.withWindowsFromDisk(String sourceDiskId) Specifies a source Windows OS managed disk.withWindowsFromSnapshot(Snapshot sourceSnapshot) Specifies a source Windows OS managed snapshot.withWindowsFromSnapshot(String sourceSnapshotId) Specifies a source Windows OS managed snapshot.withWindowsFromVhd(String vhdUrl) Specifies a source specialized or generalized Windows OS VHD.
-
Method Details
-
withWindowsFromDisk
Specifies a source Windows OS managed disk.- Parameters:
sourceDiskId- source managed disk resource ID- Returns:
- the next stage of the definition
-
withWindowsFromDisk
Specifies a source Windows OS managed disk.- Parameters:
sourceDisk- source managed disk- Returns:
- the next stage of the definition
-
withWindowsFromSnapshot
Specifies a source Windows OS managed snapshot.- Parameters:
sourceSnapshotId- snapshot resource ID- Returns:
- the next stage of the definition
-
withWindowsFromSnapshot
Specifies a source Windows OS managed snapshot.- Parameters:
sourceSnapshot- source snapshot- Returns:
- the next stage of the definition
-
withWindowsFromVhd
Specifies a source specialized or generalized Windows OS VHD.- Parameters:
vhdUrl- the source VHD URL- Returns:
- the next stage of the definition
-