VMware VCLOUD API 1.0 - API Programming Manual page 70

Table of Contents

Advertisement

vCloud API Programming Guide
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
<ovf:Info>VApp lease settings</ovf:Info>
<Link rel="edit" type="application/vnd.vmware.vcloud.leaseSettingsSection+xml"
<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.startupSection+xml"
</ovf:StartupSection>
<ovf:NetworkSection ... >
...
</ovf:NetworkSection>
<NetworkConfigSection
<Link rel="edit" type="application/vnd.vmware.vcloud.networkConfigSection+xml"
<ovf:Info>Configuration parameters for vAppNetwork</ovf:Info>
<NetworkConfig ... >
...
<Configuration>
</Configuration>
<IsDeployed>false</IsDeployed>
</NetworkConfig>
</NetworkConfigSection>
<Children>
...
</Children>
</VApp>
70
...>
href="http://vcloud.example.com/api/v1.0/vApp/vapp-7/leaseSettingsSection/"
ovf:required="false">
href="http://vcloud.example.com/api/v1.0/vApp/vapp-7/
leaseSettingsSection/"/>
href="http://vcloud.example.com/api/v1.0/vApp/vapp-7/startupSection/"/>
href="http://vcloud.example.com/api/v1.0/vApp/vapp-7/networkConfigSection/"
ovf:required="false">
href="http://vcloud.example.com/api/v1.0/vApp/vapp-7/
networkConfigSection/"/>
...
VMware, Inc.

Advertisement

Table of Contents
loading

Table of Contents