@Path(value="/vapp-templates") @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") public interface VappTemplateResource extends Serializable
| Modifier and Type | Method and Description |
|---|---|
TaskResponse |
deleteMetadataForVappTemplate(String templateUuid,
String key)
Delete a specific piece of metadata associated with a vapp template by its
key.
|
TaskResponse |
deleteVappTemplate(String templateUuid)
Delete a Vapp template.
|
InputStream |
download(String templateUuid)
Download the vApp template.
|
TaskResponse |
enableVappTemplateDownload(String templateUuid)
Enable the download of the vapp template.
|
VappTemplateDownloadDetailsResponse |
getDownloadDetails(String templateUuid)
Gets download details for the vApp Template.
|
MetadataListResponse |
getMetadataForVappTemplate(String templateUuid)
Retrieve metadata associated with a vapp template.
|
ProductSectionPropertyListResponse |
getProductSectionProperties(String templateUuid)
Get the product section properties for the given vApp template.
|
VappTemplateResponse |
getVappTemplate(String templateUuid)
Retrieve a vApp Template.
|
VappTemplateConfigurationResponse |
getVappTemplateConfiguration(String templateUuid)
Retrieve a vApp Template's detailed configuration.
|
VappTemplateVmListResponse |
getVappTemplateVms(String templateUuid)
Retrieve a vApp Template's VMs.
|
TaskResponse |
syncVappTemplate(String templateUuid)
Sync a vapp template item belonging to a catalog with its source object.
|
TaskResponse |
updateMetadataForVappTemplate(String templateUuid,
List<UpdateMetadataRequest> metadata)
Add / update metadata associated with a vapp template.
|
TaskResponse |
updateVappTemplate(String templateUuid,
VappTemplateUpdateRequest req)
Update a Vapp Template.
|
@GET
@Path(value="/{templateUuid}")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
VappTemplateResponse getVappTemplate(@PathParam(value="templateUuid")
String templateUuid)
templateUuid - vapp template uuid@GET
@Path(value="/{templateUuid}/configuration")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
VappTemplateConfigurationResponse getVappTemplateConfiguration(@PathParam(value="templateUuid")
String templateUuid)
templateUuid - vapp template uuid@GET
@Path(value="/{templateUuid}/vms")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
VappTemplateVmListResponse getVappTemplateVms(@PathParam(value="templateUuid")
String templateUuid)
templateUuid - vapp template uuid@GET
@Path(value="/{templateUuid}/metadata")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
MetadataListResponse getMetadataForVappTemplate(@PathParam(value="templateUuid")
String templateUuid)
templateUuid - vapp template uuid@PUT
@Path(value="/{templateUuid}/metadata")
@Consumes(value="application/json")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
TaskResponse updateMetadataForVappTemplate(@PathParam(value="templateUuid")
String templateUuid,
List<UpdateMetadataRequest> metadata)
templateUuid - vapp template uuidmetadata - of instances@DELETE
@Path(value="/{templateUuid}/metadata/{key}")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
TaskResponse deleteMetadataForVappTemplate(@PathParam(value="templateUuid")
String templateUuid,
@PathParam(value="key")
String key)
templateUuid - vapp template uuidkey - metadata key@PUT
@Path(value="/{templateUuid}")
@Consumes(value="application/json")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
TaskResponse updateVappTemplate(@PathParam(value="templateUuid")
String templateUuid,
VappTemplateUpdateRequest req)
templateUuid - vapp template uuidreq - vapp template update request@DELETE
@Path(value="/{templateUuid}")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
TaskResponse deleteVappTemplate(@PathParam(value="templateUuid")
String templateUuid)
templateUuid - vapp template uuid@POST
@Path(value="/{templateUuid}/actions/enable-download")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
TaskResponse enableVappTemplateDownload(@PathParam(value="templateUuid")
String templateUuid)
download(String) endpoint when
task progress is synced to download the vapp template.templateUuid - String vapp template uuid@GET
@Path(value="/{templateUuid}/download")
@Produces(value="application/vnd.ilandcloud.api.v1.0+octet-stream")
InputStream download(@PathParam(value="templateUuid")
String templateUuid)
enableVappTemplateDownload(String)
must be called first and synced before attempting to download.templateUuid - String vapp template uuidInputStream ova file@GET
@Path(value="/{templateUuid}/download-details")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
VappTemplateDownloadDetailsResponse getDownloadDetails(@PathParam(value="templateUuid")
String templateUuid)
templateUuid - String vapp template uuid@POST
@Path(value="/{templateUuid}/actions/sync")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
TaskResponse syncVappTemplate(@PathParam(value="templateUuid")
String templateUuid)
templateUuid - vapp template uuid to sync@GET
@Path(value="/{templateUuid}/product-section")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
ProductSectionPropertyListResponse getProductSectionProperties(@PathParam(value="templateUuid")
String templateUuid)
templateUuid - the UUID of the vApp templateProductSectionPropertyListResponse a list of product section propertiesCopyright © 2019 iland Internet Solutions, Corp. All rights reserved.