Interface Snapshot.DefinitionStages.WithLinuxSnapshotSource
-
- All Known Subinterfaces:
Snapshot.Definition,Snapshot.DefinitionStages.WithSnapshotSource
- Enclosing interface:
- Snapshot.DefinitionStages
public static interface Snapshot.DefinitionStages.WithLinuxSnapshotSourceThe stage of the managed snapshot definition allowing to choose a Linux OS source.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Snapshot.DefinitionStages.WithCreatewithLinuxFromDisk(Disk sourceDisk)Specifies the source Linux OS managed disk.Snapshot.DefinitionStages.WithCreatewithLinuxFromDisk(String sourceDiskId)Specifies the source Linux OS managed disk.Snapshot.DefinitionStages.WithCreatewithLinuxFromSnapshot(Snapshot sourceSnapshot)Specifies the source Linux OS managed snapshot.Snapshot.DefinitionStages.WithCreatewithLinuxFromSnapshot(String sourceSnapshotId)Specifies the source Linux OS managed snapshot.Snapshot.DefinitionStages.WithCreatewithLinuxFromVhd(String vhdUrl)Specifies the source specialized or generalized Linux OS VHD when it belongs to the same subscription.Snapshot.DefinitionStages.WithCreatewithLinuxFromVhd(String vhdUrl, String storageAccountId)Specifies the source specialized or generalized Linux OS VHD and the storage account ID.
-
-
-
Method Detail
-
withLinuxFromDisk
Snapshot.DefinitionStages.WithCreate withLinuxFromDisk(String sourceDiskId)
Specifies the source Linux OS managed disk.- Parameters:
sourceDiskId- a source managed disk resource ID- Returns:
- the next stage of the definition
-
withLinuxFromDisk
Snapshot.DefinitionStages.WithCreate withLinuxFromDisk(Disk sourceDisk)
Specifies the source Linux OS managed disk.- Parameters:
sourceDisk- a source managed disk- Returns:
- the next stage of the definition
-
withLinuxFromSnapshot
Snapshot.DefinitionStages.WithCreate withLinuxFromSnapshot(String sourceSnapshotId)
Specifies the source Linux OS managed snapshot.- Parameters:
sourceSnapshotId- a snapshot resource ID- Returns:
- the next stage of the definition
-
withLinuxFromSnapshot
Snapshot.DefinitionStages.WithCreate withLinuxFromSnapshot(Snapshot sourceSnapshot)
Specifies the source Linux OS managed snapshot.- Parameters:
sourceSnapshot- a source snapshot- Returns:
- the next stage of the definition
-
withLinuxFromVhd
Snapshot.DefinitionStages.WithCreate withLinuxFromVhd(String vhdUrl)
Specifies the source specialized or generalized Linux OS VHD when it belongs to the same subscription.- Parameters:
vhdUrl- the source VHD URL- Returns:
- the next stage of the definition
-
withLinuxFromVhd
Snapshot.DefinitionStages.WithCreate withLinuxFromVhd(String vhdUrl, String storageAccountId)
Specifies the source specialized or generalized Linux OS VHD and the storage account ID.- Parameters:
vhdUrl- the source VHD URLstorageAccountId- the storage account ID- Returns:
- the next stage of the definition
-
-