Interface DeleteCollectionBackupApi
@Path("/backups/{backupName}")
public interface DeleteCollectionBackupApi
-
Method Summary
Modifier and TypeMethodDescriptiondeleteMultipleBackupsByRecency(String backupName, Integer versionsToRetain, String location, String repositoryName, String asyncId) deleteSingleBackupById(String backupName, String backupId, String location, String repositoryName, String asyncId) garbageCollectUnusedBackupFiles(String backupName, PurgeUnusedFilesRequestBody requestBody)
-
Method Details
-
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
-