Interface Snapshot.DefinitionStages.WithDataSnapshotFromSnapshot

All Known Subinterfaces:
Snapshot.Definition, Snapshot.DefinitionStages.WithDataSnapshotSource, Snapshot.DefinitionStages.WithSnapshotSource
Enclosing interface:
Snapshot.DefinitionStages

public static interface Snapshot.DefinitionStages.WithDataSnapshotFromSnapshot
The stage of the managed disk definition allowing to choose managed snapshot containing data.
  • Method Details

    • withDataFromSnapshot

      Snapshot.DefinitionStages.WithCreate withDataFromSnapshot(String snapshotId)
      Specifies the source data managed snapshot.
      Parameters:
      snapshotId - a snapshot resource ID
      Returns:
      the next stage of the definition
    • withDataFromSnapshot

      Snapshot.DefinitionStages.WithCreate withDataFromSnapshot(Snapshot snapshot)
      Specifies the source data managed snapshot.
      Parameters:
      snapshot - a snapshot resource
      Returns:
      the next stage of the definition