@Path(value="/vapp-templates")
 @Consumes(value="application/json")
 @Produces(value="application/vnd.ilandcloud.api.v1.0+json")
public interface VappTemplateResource
| 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}")
VappTemplateResponse getVappTemplate(@PathParam(value="templateUuid")
                                                                          String templateUuid)
templateUuid - vapp template uuid@GET
 @Path(value="/{templateUuid}/configuration")
VappTemplateConfigurationResponse getVappTemplateConfiguration(@PathParam(value="templateUuid")
                                                                                                                  String templateUuid)
templateUuid - vapp template uuid@GET
 @Path(value="/{templateUuid}/vms")
VappTemplateVmListResponse getVappTemplateVms(@PathParam(value="templateUuid")
                                                                                       String templateUuid)
templateUuid - vapp template uuid@GET
 @Path(value="/{templateUuid}/metadata")
MetadataListResponse getMetadataForVappTemplate(@PathParam(value="templateUuid")
                                                                                              String templateUuid)
templateUuid - vapp template uuid@PUT
 @Path(value="/{templateUuid}/metadata")
 @Consumes(value="application/json")
TaskResponse updateMetadataForVappTemplate(@PathParam(value="templateUuid")
                                                                                                                              String templateUuid,
                                                                                                                              List<UpdateMetadataRequest> metadata)
templateUuid - vapp template uuidmetadata - of instances@DELETE
 @Path(value="/{templateUuid}/metadata/{key}")
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")
TaskResponse updateVappTemplate(@PathParam(value="templateUuid")
                                                                                                          String templateUuid,
                                                                                                          VappTemplateUpdateRequest req)
Capable of updating the templates name, and description.
templateUuid - vapp template uuidreq - vapp template update request@DELETE
 @Path(value="/{templateUuid}")
TaskResponse deleteVappTemplate(@PathParam(value="templateUuid")
                                                                        String templateUuid)
templateUuid - vapp template uuid@POST
 @Path(value="/{templateUuid}/actions/enable-download")
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")
VappTemplateDownloadDetailsResponse getDownloadDetails(@PathParam(value="templateUuid")
                                                                                                             String templateUuid)
templateUuid - String vapp template uuid@POST
 @Path(value="/{templateUuid}/actions/sync")
TaskResponse syncVappTemplate(@PathParam(value="templateUuid")
                                                                                 String templateUuid)
templateUuid - vapp template uuid to sync@GET
 @Path(value="/{templateUuid}/product-section")
ProductSectionPropertyListResponse getProductSectionProperties(@PathParam(value="templateUuid")
                                                                                                                    String templateUuid)
templateUuid - the UUID of the vApp templateProductSectionPropertyListResponse a list of product section propertiesCopyright © 2020 iland Internet Solutions, Corp. All rights reserved.