@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)
If no interval is explicitly specified, an 'HOUR' interval is assumed.
tenantUuid - the tenant uuidstart - The start timestamp, in epoch milliseconds. Defaults to
the past day when the interval=HOUR and to the past 90
days when interval=DAY.end - The end timestamp, in epoch milliseconds. Defaults to
the current time.limit - 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 © 2020 iland Internet Solutions, Corp. All rights reserved.