Interface LicenseResource

All Superinterfaces:
com.iland.core.license.api.LicenseApi

@Path("/license") @Consumes("application/json") @Produces("application/vnd.ilandcloud.api.v1.0+json") public interface LicenseResource extends com.iland.core.license.api.LicenseApi
  • Method Summary

    Modifier and Type
    Method
    Description
    downloadVeeamRentalLicense(String companyId, String licenseUuid)
    Download a Veeam rental license given it's uuid.
    com.iland.core.web.rest.response.license.VeeamLicenseSetResponse
    getCompanyVeeamLicensesForType(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.VeeamLicenseInfoResponse
    Get information about the given company's Veeam licenses and when their contract end date is.
    com.iland.core.web.rest.response.license.VeeamLicenseServerUsageSetResponse
    getVeeamLicenseServerUsage(String companyId, String licenseUuid, String hostname)
    Get the veeam license server usage for a specified company, license and hostname.

    Methods inherited from interface com.iland.core.license.api.LicenseApi

    getVeeamLicense
  • 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.
      Specified by:
      getCompanyVeeamLicensesForType in interface com.iland.core.license.api.LicenseApi
      Parameters:
      companyId - String company id
      veeamLicenseType - VeeamLicenseType type
      offset - Integer offset, default is 5
      limit - Integer limit, default is 0
      Returns:
      a set of licenses
    • 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.
      Specified by:
      getVeeamLicenseServerUsage in interface com.iland.core.license.api.LicenseApi
      Parameters:
      companyId - String company id
      licenseUuid - String license uuid
      hostname - String hostname
      Returns:
      a set of license server usages
    • 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.
      Specified by:
      getVeeamLicenseInfo in interface com.iland.core.license.api.LicenseApi
      Parameters:
      companyId - String companyId
      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.
      Parameters:
      companyId - String company id
      licenseUuid - String license uuid
      Returns:
      veeam rental license