To create the complete OVF descriptor, the client must already have downloaded the files that are part of the entity, because information about these files (compression, chunking, filename etc.) is part of the descriptor.
However, these downloads can be quite time-consuming, so if the descriptor for some reason cannot be generated, the client will want to know this before downloading the files.
For this reason, the client may do an initial "dry run" with the ovfFiles parameter unset. Default filenames will then be used in the descriptor, and the client can examine any warnings and/or errors before downloading the files.
After the final call to this method, client must release the lock on the entity given to it by VcVirtualApp.
Name | Type | Description |
---|---|---|
obj | VcManagedEntity | The entity to export. Supported types are <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcVirtualMachine.html">VcVirtualMachine</a> and <a target="_blank" href="https://www.vmware.com/support/orchestrator/doc/vro-vsphere60-api/html/VcVirtualMachine.html">VcVirtualApp</a>. |
cdp | VcOvfCreateDescriptorParams | Parameters to the method, bundled in an instance of CreateDescriptorParams. |