Interface SwaggerLicenseResource
@Path("/license")
@Consumes("application/json")
@Produces("application/vnd.ilandcloud.api.v1.0+json")
public interface SwaggerLicenseResource
-
Method Summary
Modifier and TypeMethodDescriptiondownloadVeeamRentalLicense(String companyId, String licenseUuid) Download a Veeam rental license given it's uuid.com.iland.core.web.rest.response.license.VeeamLicenseSetResponsegetCompanyVeeamLicensesForType(String companyId, com.iland.core.web.rest.response.license.VeeamLicenseType veeamLicenseType, Integer offset, Integer limit) Get the veeam licenses for a specified company and type.com.iland.core.web.rest.response.license.VeeamLicenseInfoResponsegetVeeamLicenseInfo(String companyId) Get information about the given company's Veeam licenses and when their contract end date is.com.iland.core.web.rest.response.license.VeeamLicenseServerUsageSetResponsegetVeeamLicenseServerUsage(String companyId, String licenseUuid, String hostname) Get the veeam license server usage for a specified company, license and hostname.
-
Method Details
-
getCompanyVeeamLicensesForType
@Path("/{companyId}/{type}") @GET com.iland.core.web.rest.response.license.VeeamLicenseSetResponse getCompanyVeeamLicensesForType(@PathParam("companyId") String companyId, @PathParam("type") com.iland.core.web.rest.response.license.VeeamLicenseType veeamLicenseType, @QueryParam("offset") Integer offset, @QueryParam("limit") Integer limit) Get the veeam licenses for a specified company and type. -
getVeeamLicenseServerUsage
@Path("/{companyId}/{licenseUuid}/{hostname}") @GET com.iland.core.web.rest.response.license.VeeamLicenseServerUsageSetResponse getVeeamLicenseServerUsage(@PathParam("companyId") String companyId, @PathParam("licenseUuid") String licenseUuid, @PathParam("hostname") String hostname) Get the veeam license server usage for a specified company, license and hostname. -
getVeeamLicenseInfo
@Path("/{companyId}/veeam-license-info") @GET com.iland.core.web.rest.response.license.VeeamLicenseInfoResponse getVeeamLicenseInfo(@PathParam("companyId") String companyId) Get information about the given company's Veeam licenses and when their contract end date is. If a contract is ending within the month then the value is expiring.- Parameters:
companyId-StringcompanyId- Returns:
- number of active, expired,expiring Veeam licenses
-
downloadVeeamRentalLicense
@Path("/{companyId}/{licenseUuid}/download") @GET InputStream downloadVeeamRentalLicense(@PathParam("companyId") String companyId, @PathParam("licenseUuid") String licenseUuid) Download a Veeam rental license given it's uuid.
-