@Path(value="/locations") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") public interface LocationResource extends Serializable
Modifier and Type | Method and Description |
---|---|
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.
|
VmConfigurationLimitsResponse |
getVmConfigurationLimits(String locationId)
Given a location, get the CPU, memory, and disk limits.
|
@GET @Path(value="/{location}/public-catalogs") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") CatalogListResponse getPublicCatalogs(@PathParam(value="location") String locationId)
locationId
- the location ID@GET @Path(value="/{location}/public-vapp-templates") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") VappTemplateListResponse getPublicVappTemplates(@PathParam(value="location") String locationId)
locationId
- the location ID@GET @Path(value="/{location}/public-media") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") MediaListResponse getPublicMedia(@PathParam(value="location") String locationId)
locationId
- the location ID@GET @Path(value="/{locationId}/status") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") 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") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") VmConfigurationLimitsResponse getVmConfigurationLimits(@PathParam(value="locationId") String locationId)
locationId
- location idCopyright © 2019 iland Internet Solutions, Corp. All rights reserved.