EasyManua.ls Logo

VMware VCLOUD API 1.0 - API - Reconfigure a vApp

VMware VCLOUD API 1.0 - API
212 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
VMware, Inc. 69
Chapter 5 Datacenter Operations
Reconfiguring vApps and Virtual Machines
ConfigurationdetailsforvAppsandthevirtualmachinestheycontainarespecifiedinovf:SectionType
elementssuchasLeaseSettingsSection,NetworkConfigSection,andOperatingSystemSection.These
sectionscanbespecifiedintheInstantiationParamsforthevApporVm,andcanalsobeeditedinplaceusing
reconfigurationlinks(Linkelementswhererel="edit")
thattheserveraddstothesesectionsduring
instantiation.FormoreinformationaboutthesectionsthatcanbeincludedinInstantiationParams,see
“InstantiationParams”onpage 172.
ThereconfigurationprocessforvAppsandvirtualmachinesissimilar,butthesetofsectionsthatcanbeedited
duringreconfigurationdependsontheobject
beingreconfigured.
Reconfigure a vApp
Table 5‐2summarizesvAppreconfigurationrequestssupportedinthisrelease.Thetableusesthefollowing
conventions:
API‐URLisaURLoftheformhttp://vcloud.example.com/api/v1.0
idisaninteger
YoucanreconfigureavAppbymakingchangestoanyofthefollowingsections:
LeaseSettingsSection
StartupSection
NetworkConfigSection
Modifiedsectionsmustcontainallrequiredelements,evenifyouarenotchangingtheirvalues.Some
elementsinsomesectionsareread‐only.Seetheschemareferencesfordetails.
Table 5-2. Summary of vApp Reconfiguration Requests
Operation Request Request Body Response
RetrievevAppLeaseSettings GETAPI‐URL/vApp/vapp‐id/
leaseSettingsSection/
None LeaseSettingsSection
ModifyvAppLeaseSettings PUTAPI‐URL/vApp/vapp‐id/
leaseSettingsSection/
LeaseSettingsSection Task
RetrievevAppStartupSection GETAPI‐URL/vApp/vapp‐id/
startupSection/
None StartupSection
ModifyvAppStartupSection PUTAPI‐URL/vApp/vapp‐id/
startupSection/
StartupSection Task
RetrievevAppNetworkSection GETAPI‐URL/vApp/vapp‐id/
networkSection/
None ovf:NetworkSection
RetrievevAppNetworkConfiguration GETAPI‐URL/vApp/vapp
‐id/
networkConfigSection/
None NetworkConfigSection
ModifyvAppNetworkConfiguration PUTAPI‐URL/vApp/vapp‐id/
networkConfigSection/
NetworkConfigSection Task
NOTEEachVminthevApp’sChildrencollectionincludesadditionallinksforconfiguringitsguestoperating
system,virtualhardware,andotherproperties.Forclarity,theChildrenarenotshowninExample 5‐9.Tosee
them,refertoExample 5‐12onpage 75.

Table of Contents