Before you can download a vApp or vApp template, an administrator or privileged user must enable the object for download.
Prerequisites
- Verify that you are logged in as a user who has privileges to enable a vApp or vApp template for download.
- Verify that any vApp you plan to enable for download is powered off and undeployed. See Undeploy, Power Off, and Delete the vApp.
Procedure
Example: vApp Template with Download URLs
Request:
GET https://vcloud.example.com/api/vAppTemplate/vappTemplate-111
This download-enabled VAppTemplate object include four download Link elements. The default links exclude information such as MAC address, BIOS UUID, and NetworkConfigSection that is included in the identity download links.
Response:
200 OK Content-Type: application/vnd.vmware.vcloud.vAppTemplate+xml ... <VAppTemplate ovfDescriptorUploaded="true" status="8" name="Ubuntu Template" ... > ... <Link type="text/xml" rel="download:default" href="https://vcloud.example.com/transfer/.../descriptor.ovf"/> <Link type="text/xml" rel="download:identity" href="https://vcloud.example.com/transfer/.../descriptor-with-id.ovf"/> <Link type="text/xml" rel="download:ovaDefault" href="https://vcloud.example.com/transfer/.../descriptor.ova"/> <Link type="text/xml" rel="download:ovaIdentity" href="https://vcloud.example.com/transfer/.../descriptor-with-id.ova"/> ... ... </VAppTemplate>