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