Export vApp Template As OVF operation
The Export vApp Template As OVF operation enables you to downlaod a vApp template as an OVF package.
The following figure shows a sample <items>
XML element for the Export vApp Template As OVF operation:
Sample <items>
XML element for the Export vApp Template As OVF operation
<items>
<item>
<parameters>
<vapp-template-id></vapp-template-id>
<ovf-download-directory></ovf-download-directory>
</parameters>
</item>
</items>
The following table describes the elements for this adapter request:
Adapter request elements for the Export vApp Template As OVF operation
Element |
Definition |
Required |
---|---|---|
|
Defines the type of operation: |
Yes |
|
Specifies the name of the vCloud organization |
Conditional:
|
|
Specifies the user name required for basic HTTP authentication on vCloud |
Conditional:
|
|
Contains the password corresponding to the specified user name |
Conditional:
|
|
Contains the elements for the operation |
Yes |
|
Specifies the ID of the corresponding vApp template that you want to download |
Yes |
|
Specifies the directory from which to download the vApp template's OVF files |
Yes |
The following figure shows the sample adapter request for the Export vApp Template As OVF operation:
Sample adapter request for the Export vApp Template As OVF operation
<vmware-vcloud-request>
<operation-name>Export_Ovf_As_vApp_Template</operation-name>
<vcloud-organization>TestOrg</vcloud-organization>
<user-name>TestUser</user-name>
<password>Password</password>
<parameters>
<vapp-template-id>vappTemplate-145139217</vapp-template-id>
<ovf-download-directory>/home/newuser</ovf-download-directory>
</parameters>
</vmware-vcloud-request>
The following figure shows the response for the sample adapter request:
Sample adapter response for the Export vApp Template As OVF operation
<vmware-vcloud-response>
<metadata>
<status>success</status>
</metadata>
<status-line>
<code>200</code>
<reason>OK</reason>
</status-line>
<message-body>
<ovf-download-directory>/home/jai</ovf-download-directory>
</message-body>
</vmware-vcloud-response>
Comments
Log in or register to comment.