@Path(value="/vcc-backup-tenants") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") public interface VccBackupTenantResource extends Serializable
Modifier and Type | Method and Description |
---|---|
VccTenantBackupHistoryListResponse |
getBackupHistoryFor(String tenantUuid,
Integer offset,
Integer limit)
Get the backup history for a given cloud tenant.
|
VccBackupTenantResponse |
getCloudTenant(String uuid)
Gets a VCC backup tenant by its uuid.
|
VccPerfSampleListResponse |
getStorageUsage(String tenantUuid,
Long start,
Long end,
Integer limit,
PerfIntervalRequest interval)
Get the storage usage performance samples for a given tenant, timeframe and
performance sampling interval.
|
@GET @Path(value="/{uuid}") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") VccBackupTenantResponse getCloudTenant(@PathParam(value="uuid") String uuid)
@GET @Path(value="/{uuid}/storage-usage") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") VccPerfSampleListResponse getStorageUsage(@PathParam(value="uuid") String tenantUuid, @QueryParam(value="start") Long start, @QueryParam(value="end") Long end, @QueryParam(value="limit") Integer limit, @QueryParam(value="interval") PerfIntervalRequest interval)
tenantUuid
- the tenant uuidstart
- epoch milli start timeend
- epoch milli end timelimit
- sample limitinterval
- perf interval@GET @Path(value="/{uuid}/backup-history") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") VccTenantBackupHistoryListResponse getBackupHistoryFor(@PathParam(value="uuid") String tenantUuid, @QueryParam(value="offset") Integer offset, @QueryParam(value="limit") Integer limit)
tenantUuid
- the UUID of the tenantoffset
- the offsetlimit
- the limitCopyright © 2019 iland Internet Solutions, Corp. All rights reserved.