Interface DeleteCollectionBackupApi
-
@Path("/backups/{backupName}") public interface DeleteCollectionBackupApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BackupDeletionResponseBody
deleteMultipleBackupsByRecency(String backupName, Integer versionsToRetain, String location, String repositoryName, String asyncId)
BackupDeletionResponseBody
deleteSingleBackupById(String backupName, String backupId, String location, String repositoryName, String asyncId)
PurgeUnusedResponse
garbageCollectUnusedBackupFiles(String backupName, PurgeUnusedFilesRequestBody requestBody)
-
-
-
Method Detail
-
deleteSingleBackupById
@Path("/versions/{backupId}") @DELETE BackupDeletionResponseBody deleteSingleBackupById(@PathParam("backupName") String backupName, @PathParam("backupId") String backupId, @QueryParam("location") String location, @QueryParam("repository") String repositoryName, @QueryParam("async") String asyncId) throws Exception
- Throws:
Exception
-
deleteMultipleBackupsByRecency
@Path("/versions") @DELETE BackupDeletionResponseBody deleteMultipleBackupsByRecency(@PathParam("backupName") String backupName, @QueryParam("retainLatest") Integer versionsToRetain, @QueryParam("location") String location, @QueryParam("repository") String repositoryName, @QueryParam("async") String asyncId) throws Exception
- Throws:
Exception
-
garbageCollectUnusedBackupFiles
@Path("/purgeUnused") @PUT PurgeUnusedResponse garbageCollectUnusedBackupFiles(@PathParam("backupName") String backupName, PurgeUnusedFilesRequestBody requestBody) throws Exception
- Throws:
Exception
-
-