@Path(value="/backup-groups")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
public interface BackupGroupResource
| Modifier and Type | Method and Description |
|---|---|
void |
deleteBackupGroup(String backupGroupUid,
BackupGroupDeleteRequest deleteRequest)
Delete a backup group.
|
BackupGroupResponse |
getBackupGroup(String backupGroupUid,
boolean includeSummaryStats,
boolean includeLastRun,
boolean includeBackupPolicy)
Get details of an individual backup protection group.
|
BackupPolicyResponse |
getBackupGroupPolicy(String backupGroupUid)
Get details for the policy associated with a specified backup group.
|
BackupGroupRunResponse |
getBackupGroupRun(String backupGroupUid,
String backupRunUid)
Get a specific backup group run.
|
BackupGroupSummaryStatsResponse |
getBackupGroupSummaryStats(String backupGroupUid,
GetBackupGroupSummaryStatsFilters filters)
Get summary stats for an individual backup protection group.
|
BackupGroupStorageMetricListResponse |
getBackupStorageMetrics(String backupGroupUid)
Gets the list of storage metrics that are available for the backup group.
|
BackupGroupStorageSampleSeriesResponse |
getBackupStorageSamples(String backupGroupUid,
BackupGroupStorageMetric metric,
GetBackupStorageSamplesFilters filters)
Gets a series of backup group storage samples for a specified storage
metric.
|
BackupGroupRunListResponse |
listBackupGroupRuns(String backupGroupUid,
ListBackupGroupRunsQueryParams params)
List runs for the specified backup group.
|
BackupGroupResponse |
updateBackupGroup(String backupGroupUid,
BackupGroupUpdateRequest updateRequest)
Update a backup group.
|
@GET
@Path(value="/{backupGroupUid}")
BackupGroupResponse getBackupGroup(@PathParam(value="backupGroupUid")
String backupGroupUid,
@QueryParam(value="includeSummaryStats")
boolean includeSummaryStats,
@QueryParam(value="includeLastRun")
boolean includeLastRun,
@QueryParam(value="includeBackupPolicy")
boolean includeBackupPolicy)
backupGroupUid - the backup group UIDincludeSummaryStats - whether to include summary stats in the responseincludeLastRun - whether to include last run info in the responseincludeBackupPolicy - whether to include backup policy infoBackupGroupResponsejavax.ws.rs.NotFoundException - if the backup group is not found@GET
@Path(value="/{backupGroupUid}/policy")
BackupPolicyResponse getBackupGroupPolicy(@PathParam(value="backupGroupUid")
String backupGroupUid)
backupGroupUid - the backup group UIDBackupGroupResponsejavax.ws.rs.NotFoundException - if the backup group is not found@GET
@Path(value="/{backupGroupUid}/runs/{backupRunUid}")
BackupGroupRunResponse getBackupGroupRun(@PathParam(value="backupGroupUid")
String backupGroupUid,
@PathParam(value="backupRunUid")
String backupRunUid)
backupGroupUid - the backup group UIDbackupRunUid - the run UIDBackupGroupRunResponsejavax.ws.rs.NotFoundException - if the backup group is not found@GET
@Path(value="/{backupGroupUid}/backup-runs")
BackupGroupRunListResponse listBackupGroupRuns(@PathParam(value="backupGroupUid")
String backupGroupUid,
@BeanParam
ListBackupGroupRunsQueryParams params)
Limit defaults to 10 and query time range defaults to last 24 hours.
backupGroupUid - the backup group UIDparams - query filter paramsBackupGroupRunListResponsejavax.ws.rs.NotFoundException - if the backup group is not found@GET
@Path(value="/{backupGroupUid}/summary-stats")
BackupGroupSummaryStatsResponse getBackupGroupSummaryStats(@PathParam(value="backupGroupUid")
String backupGroupUid,
@BeanParam
GetBackupGroupSummaryStatsFilters filters)
Stat time-range defaults to the past 24 hours.
backupGroupUid - the backup group UIDfilters - optional filters that can be used to specify a custom
timeframe.BackupGroupSummaryStatsResponsejavax.ws.rs.NotFoundException - if the backup group is not found@PUT
@Path(value="/{backupGroupUid}")
@Consumes(value="application/json")
BackupGroupResponse updateBackupGroup(@PathParam(value="backupGroupUid")
String backupGroupUid,
BackupGroupUpdateRequest updateRequest)
backupGroupUid - the UID of the backup groupupdateRequest - the update request bodyBackupGroupResponsejavax.ws.rs.NotFoundException - if the backup group is not found@DELETE
@Path(value="/{backupGroupUid}")
@Consumes(value="application/json")
void deleteBackupGroup(@PathParam(value="backupGroupUid")
String backupGroupUid,
BackupGroupDeleteRequest deleteRequest)
backupGroupUid - the UID of the backup groupdeleteRequest - the deletion requestjavax.ws.rs.NotFoundException - if the backup group is not found@GET
@Path(value="/{backupGroupUid}/backup-storage-metrics")
BackupGroupStorageMetricListResponse getBackupStorageMetrics(@PathParam(value="backupGroupUid")
String backupGroupUid)
backupGroupUid - the UID of the backup group@GET
@Path(value="/{backupGroupUid}/backup-storage-metrics/{metric}/samples")
BackupGroupStorageSampleSeriesResponse getBackupStorageSamples(@PathParam(value="backupGroupUid")
String backupGroupUid,
@PathParam(value="metric")
BackupGroupStorageMetric metric,
@BeanParam
GetBackupStorageSamplesFilters filters)
backupGroupUid - the UID of the backup groupmetric - the storage metric namefilters - optional filters for the start and end of the seriesCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.