Interface CoreSnapshotApi
-
@Path("/cores/{coreName}/snapshots") public interface CoreSnapshotApi
V2 API definitions for Creating, Listing, and Deleting Core Snapshots.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateCoreSnapshotResponse
createSnapshot(String coreName, String snapshotName, String taskId)
DeleteSnapshotResponse
deleteSnapshot(String coreName, String snapshotName, String taskId)
ListCoreSnapshotsResponse
listSnapshots(String coreName)
-
-
-
Method Detail
-
createSnapshot
@POST @Path("/{snapshotName}") CreateCoreSnapshotResponse createSnapshot(@PathParam("coreName") String coreName, @PathParam("snapshotName") String snapshotName, @QueryParam("async") String taskId) throws Exception
- Throws:
Exception
-
listSnapshots
@GET ListCoreSnapshotsResponse listSnapshots(@PathParam("coreName") String coreName) throws Exception
- Throws:
Exception
-
-