@Path(value="/locations")
@Consumes(value="application/json")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
public interface LocationResource
Modifier and Type | Method and Description |
---|---|
LocationListResponse |
getLocations()
Get all the locations.
|
Map<String,String> |
getLocationsNames()
Get location names.
|
CatalogListResponse |
getPublicCatalogs(String locationId)
Get the public catalogs for a data center location.
|
MediaListResponse |
getPublicMedia(String locationId)
Get the public media for a data center location.
|
VappTemplateListResponse |
getPublicVappTemplates(String locationId)
Get the public vapp templates for a data center location.
|
StatusResponse |
getStatus(String locationId,
ServiceStatusRequest service)
Given a location, get the services status.
|
CurrencyCodeResponse |
getVacBillingCurrencyCode(String locationId,
String companyId)
Get the VAC billing currency code for the given company id and location id.
|
VacContractListResponse |
getVacContractsForCompany(String locationId,
String companyId)
Get the VAC contracts given the location id and company id.
|
VacCompanyQuotaStatusResponse |
getVacQuotaStatus(String locationId,
String companyId)
Get the VAC quota status of a company which includes total storage quota,
used storage quota and the contracted storage quota values.
|
VmConfigurationLimitsResponse |
getVmConfigurationLimits(String locationId)
Given a location, get the CPU, memory, and disk limits.
|
void |
requestContractUpgrade(String locationId,
String companyId,
BaCompanyContractUpgradeRequest updateRequest)
Request a VAC storage upgrade for given a company and it's location.
|
@GET @Path(value="/{location}/public-catalogs") CatalogListResponse getPublicCatalogs(@PathParam(value="location") String locationId)
locationId
- the location ID@GET @Path(value="/{location}/public-vapp-templates") VappTemplateListResponse getPublicVappTemplates(@PathParam(value="location") String locationId)
locationId
- the location ID@GET @Path(value="/{location}/public-media") MediaListResponse getPublicMedia(@PathParam(value="location") String locationId)
locationId
- the location ID@GET @Path(value="/{locationId}/status") StatusResponse getStatus(@PathParam(value="locationId") String locationId, @QueryParam(value="service") ServiceStatusRequest service)
locationId
- a valid location identifier.service
- a ServiceStatusRequest
@GET @Path(value="/{locationId}/vm-configuration-limits") VmConfigurationLimitsResponse getVmConfigurationLimits(@PathParam(value="locationId") String locationId)
locationId
- location id@GET @Path(value="/{locationId}/{companyId}/vac-storage-status") VacCompanyQuotaStatusResponse getVacQuotaStatus(@PathParam(value="locationId") String locationId, @PathParam(value="companyId") String companyId)
companyId
- company idlocationId
- location id@GET @Path(value="/{locationId}/{companyId}/vac-currency-code") CurrencyCodeResponse getVacBillingCurrencyCode(@PathParam(value="locationId") String locationId, @PathParam(value="companyId") String companyId)
locationId
- location idcompanyId
- company id@GET @Path(value="/{locationId}/{companyId}/vac-contracts") VacContractListResponse getVacContractsForCompany(@PathParam(value="locationId") String locationId, @PathParam(value="companyId") String companyId)
locationId
- location idcompanyId
- company id@POST @Path(value="/{locationId}/{companyId}/request-upgrade-contract") void requestContractUpgrade(@PathParam(value="locationId") String locationId, @PathParam(value="companyId") String companyId, BaCompanyContractUpgradeRequest updateRequest)
locationId
- location id idcompanyId
- company idupdateRequest
- update request@GET @Path(value="/") LocationListResponse getLocations()
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.