Interface DatastoreTypeProvider.SnapshotFacet

Enclosing interface:
DatastoreTypeProvider

public static interface DatastoreTypeProvider.SnapshotFacet
Perform any operations necessary on the target to create a snapshot of a volume. In order to use this simply implement this interface along with the DatastoreTypeProvider. If using along with VME/MVM, it is best to implement the DatastoreTypeProvider.SnapshotFacet.SnapshotServerFacet instead.
Since:
1.1.18
See Also:
  • Method Details

    • createSnapshot

      ServiceResponse<Snapshot> createSnapshot(StorageVolume volume)
      Creates a snapshot of a volume. This is used to create a snapshot of a volume. A lot of backup providers may use this to create snapshots for exportability or backup purposes. NOTE: Currently this isn't really used by anything, as the server is normally associated with most snapshot tracking
      Parameters:
      volume - the volume to create a snapshot for
      Returns:
      the success state and a copy of the snapshot
    • removeSnapshot

      ServiceResponse removeSnapshot(StorageVolume volume)
      Reverts a volume to a snapshot. This is used to revert a volume to a previous state.
      Parameters:
      volume -
      Returns:
    • listSnapshots

      ServiceResponse<Snapshot> listSnapshots(StorageServer storageServer)
      Called to list all snapshots on an associated storage server (NOT USED YET)
      Parameters:
      storageServer - the storage server to list snapshots off of
      Returns:
      the success state of the listing
    • cloneVolume

      ServiceResponse<StorageVolume> cloneVolume(StorageVolume volume, Snapshot sourceSnapshot)