VMware, Inc. 41
4
ThevCloudAPIsupportsuploadanddownloadofOVFpackages,anduploadofmediaimages.Transfer
operationsarecharacterizedasuploadswhentheoperationtransferscontentfromthelocalhosttoaremote
one,andasdownloadswhenthelocalhostrequeststhetransferofcontentfromaremotehost.Uploads
are
typicallyinitiatedbyaPOSTrequest,anddownloadsbyaGETrequest.Uploadsanddownloadsare
facilitatedbythevCloudtransferservice,whichprovidestemporarystorageforfiles.
ThevCloudAPIalsosupportsacloneoperationthatcopiesvApps,vApptemplates,ormediaimages.The
cloneoperationalsoallowsyou
tospecifythatthesourceobjectbedeletedaftertheoperationcompletes,
whicheffectivelymovesorrenamesthesourceobject.
Aftertheyhavebeenuploadedorcloned,templatesandmediaimagescanbeaddedtocatalogsasneeded.
Thischapterincludesthefollowingtopics:
“SummaryofProvisioningRequests”onpage 41
“UploadOVFtoCreateavAppTemplate”onpage 42
“ViewtheOVFDescriptorofavAppTemplate”onpage 47
“DownloadavAppTemplateasOVF”onpage 47
“UploadaMediaImage”onpage 50
“CopyingandMoving”onpage 50
“ChangingaNameorDescription”onpage 53
“DeleteavAppTemplate,vApp,orMediaImage”onpage 54
“CatalogingvAppTemplatesandMediaImages”onpage 54
“ControllingAccess”onpage 56
Summary of Provisioning Requests
Table 4‐1summarizesprovisioningrequestssupportedinthisrelease.Thetableusesthefollowing
conventions:
API‐URLisaURLoftheformhttp://vcloud.example.com/api/v1.0.
idisaninteger.
Provisioning
4
Table 4-1. Summary of Provisioning Requests
Operation Request Request Body Response
UploadOVFtoCreatea
vAppTemplate
POSTAPI‐URL/vdc/id/
action/uploadVAppTemplate
UploadVAppTemplateParams VAppTemplate
DownloadavApp
TemplateasOVF
GETdownload‐URL None Dependson
filetype