Package com.iland.core.web.rest.api
Interface OffsetReplicationResource
- All Superinterfaces:
com.iland.offsite.replication.api.OffsiteReplicationPlatformApi
@Path("/companies")
@Consumes("application/json")
@Produces("application/vnd.ilandcloud.api.v1.0+json")
public interface OffsetReplicationResource
extends com.iland.offsite.replication.api.OffsiteReplicationPlatformApi
Offset Replication resource.
-
Method Summary
Modifier and TypeMethodDescriptioncom.iland.offsite.replication.api.model.ReplicationInformationResponsegetReplicationInformation(String companyId, String orgUuid, Long start, Long end) Get org-level replication information.com.iland.offsite.replication.api.model.StorageHistoryResponsegetStorageHistory(String companyId, String orgUuid, Long start, Long end) Get org-level storage history.getStorageHistoryReport(String companyId, String orgUuid, Long start, Long end) Get org-level storage history report.
-
Method Details
-
getReplicationInformation
@GET @Path("/{companyId}/orgs/{orgUuid}/replication-information") com.iland.offsite.replication.api.model.ReplicationInformationResponse getReplicationInformation(@PathParam("companyId") String companyId, @PathParam("orgUuid") String orgUuid, @QueryParam("start") Long start, @QueryParam("end") Long end) Get org-level replication information.- Specified by:
getReplicationInformationin interfacecom.iland.offsite.replication.api.OffsiteReplicationPlatformApi- Parameters:
orgUuid- an org UUIDstart- optional timestamp parameter (inclusive, epoch milli)end- optional timestamp parameter (exclusive, epoch milli)- Returns:
replication information
-
getStorageHistory
@GET @Path("/{companyId}/orgs/{orgUuid}/storage-history") com.iland.offsite.replication.api.model.StorageHistoryResponse getStorageHistory(@PathParam("companyId") String companyId, @PathParam("orgUuid") String orgUuid, @QueryParam("start") Long start, @QueryParam("end") Long end) Get org-level storage history.- Specified by:
getStorageHistoryin interfacecom.iland.offsite.replication.api.OffsiteReplicationPlatformApi- Parameters:
orgUuid- an org UUIDstart- optional timestamp parameter (inclusive, epoch milli)end- optional timestamp parameter (exclusive, epoch milli)- Returns:
storage history
-
getStorageHistoryReport
@GET @Path("/{companyId}/orgs/{orgUuid}/storage-history-report") @Produces("application/vnd.ilandcloud.api.v1.0+octet-stream") InputStream getStorageHistoryReport(@PathParam("companyId") String companyId, @PathParam("orgUuid") String orgUuid, @QueryParam("start") Long start, @QueryParam("end") Long end) Get org-level storage history report.- Specified by:
getStorageHistoryReportin interfacecom.iland.offsite.replication.api.OffsiteReplicationPlatformApi- Parameters:
orgUuid- an org UUIDstart- optional timestamp parameter (inclusive, epoch milli)end- optional timestamp parameter (exclusive, epoch milli)- Returns:
- virtual data center
-