VMware, Inc. 59
5
ThevCloudAPIsupportsprogrammaticaccesstoarangeofself‐servicedatacenteroperationsthatallowusers
tocreate,configure,operate,andconnecttovApps.
Thischapterincludesthefollowingtopics:
“SummaryofDatacenterOperationsRequests”onpage 59
“vAppLifecycle”onpage 60
“InstantiateavAppTemplate”onpage 61
“ComposeavApp”onpage 65
“RecomposeavApptoAddorRemoveVirtualMachines”onpage 67
“CaptureavApptoCreateavAppTemplate”onpage 68
“ReconfiguringvAppsandVirtualMachines”onpage 69
“DeployingandControllingvAppsandVirtualMachines”onpage 80
“ControlAccesstovApps”onpage 89
“RetrieveaTask”onpage 89
Summary of Datacenter Operations Requests
Table 5‐1summarizesdatacenteroperationsrequestssupportedinthisrelease.Thetableusesthefollowing
conventions:
API‐URLisaURLoftheformhttp://vcloud.example.com/api/v1.0
idisaninteger
vApp‐or‐Vm‐URLisaURLoftheformAPI‐URL/vApp/vapp‐id(foravAppobject)or
API‐URL/vApp/vm‐id(foraVmobject)
Datacenter Operations
5
Table 5-1. Summary of Datacenter Operations Requests
Operation Request Request Body Response
InstantiateavAppTemplate POSTAPI‐URL/vdc/id/action/
instantiateVAppTemplate
InstantiateVAppTemplateParams VApp
RetrievevAppTemplate
CustomizationSection
GETAPI‐URL/vAppTemplate/
vappTemplate‐id/
customizationSection
None CustomizationSection
ModifyvAppTemplate
CustomizationSection
PUTAPI‐URL/vAppTemplate/
vappTemplate‐id/
customizationSection
CustomizationSection Task
ComposeavApp POSTAPI‐URL/vdc/id/action/
composeVApp
ComposeVAppParams VApp