vCloud API Programming Guide
70
VMware, Inc.
Example 5-9.
Configuration Links for a vApp
Request:
GET http://vcloud.example.com/api/v1.0/vApp/vapp-7
Response:
200 OK
Content-type: application/vnd.vmware.vcloud.vApp+xml
...
<VApp name="Linux FTP server" status="8" href="http://vcloud.example.com/api/v1.0/vApp/vapp-7"
...>
<Description>Example FTP Server</Description>
...
<LeaseSettingsSection
href="http://vcloud.example.com/api/v1.0/vApp/vapp-7/leaseSettingsSection/"
ovf:required="false">
<ovf:Info>VApp lease settings</ovf:Info>
<Link rel="edit" type="application/vnd.vmware.vcloud.leaseSettingsxml"
href="http://vcloud.example.com/api/v1.0/vApp/vapp-7/
leaseSettingsSection/"/>
<DeploymentLeaseInSeconds>3600</DeploymentLeaseInSeconds>
<StorageLeaseInSeconds>3600</StorageLeaseInSeconds>
<DeploymentLeaseExpiration>2010-01-21T13:50:59.764-08:00</DeploymentLeaseExpiration>
</LeaseSettingsSection>
<ovf:StartupSection href="http://vcloud.example.com/api/v1.0/vApp/vapp-7/startupSection/">
<ovf:Info>VApp startup section</ovf:Info>
<Link rel="edit" type="application/vnd.vmware.vcloud.startupxml"
href="http://vcloud.example.com/api/v1.0/vApp/vapp-7/startupSection/"/>
</ovf:StartupSection>
<ovf:NetworkSection ... >
...
</ovf:NetworkSection>
<NetworkConfigSection
href="http://vcloud.example.com/api/v1.0/vApp/vapp-7/networkConfigSection/"
ovf:required="false">
<Link rel="edit" type="application/vnd.vmware.vcloud.networkConfigxml"
href="http://vcloud.example.com/api/v1.0/vApp/vapp-7/
networkConfigSection/"/>
<ovf:Info>Configuration parameters for vAppNetwork</ovf:Info>
<NetworkConfig ... >
...
<Configuration>
...
</Configuration>
<IsDeployed>false</IsDeployed>
</NetworkConfig>
</NetworkConfigSection>
<Children>
...
</Children>
</VApp>
Summary of Contents for VCLOUD API 1.0 - TECHNICAL NOTE
Page 10: ...vCloud API Programming Guide 10 VMware Inc...
Page 20: ...vCloud API Programming Guide 20 VMware Inc...
Page 32: ...vCloud API Programming Guide 32 VMware Inc...
Page 90: ...vCloud API Programming Guide 90 VMware Inc...
Page 150: ...vCloud API Programming Guide 150 VMware Inc...
Page 170: ...vCloud API Programming Guide 170 VMware Inc...