Snapshot.DefinitionStages.WithLinuxSnapshotSource Interface
public interface WithLinuxSnapshotSource
The stage of the managed snapshot definition allowing to choose a Linux OS source.
Method Summary
Modifier and Type | Method and Description |
---|---|
Snapshot. |
withLinuxFromDisk(Disk sourceDisk)
Specifies the source Linux OS managed disk. |
Snapshot. |
withLinuxFromDisk(String sourceDiskId)
Specifies the source Linux OS managed disk. |
Snapshot. |
withLinuxFromSnapshot(Snapshot sourceSnapshot)
Specifies the source Linux OS managed snapshot. |
Snapshot. |
withLinuxFromSnapshot(String sourceSnapshotId)
Specifies the source Linux OS managed snapshot. |
Snapshot. |
withLinuxFromVhd(String vhdUrl)
Specifies the source specialized or generalized Linux OS VHD. |
Method Details
withLinuxFromDisk
public WithCreate withLinuxFromDisk(Disk sourceDisk)
Specifies the source Linux OS managed disk.
Parameters:
Returns:
withLinuxFromDisk
public WithCreate withLinuxFromDisk(String sourceDiskId)
Specifies the source Linux OS managed disk.
Parameters:
Returns:
withLinuxFromSnapshot
public WithCreate withLinuxFromSnapshot(Snapshot sourceSnapshot)
Specifies the source Linux OS managed snapshot.
Parameters:
Returns:
withLinuxFromSnapshot
public WithCreate withLinuxFromSnapshot(String sourceSnapshotId)
Specifies the source Linux OS managed snapshot.
Parameters:
Returns:
withLinuxFromVhd
public WithCreate withLinuxFromVhd(String vhdUrl)
Specifies the source specialized or generalized Linux OS VHD.
Parameters:
Returns:
Applies to
Azure SDK for Java