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