Product SiteDocumentation Site

15.2.  Import Action

The import action imports a template from an Export storage domain. The destination cluster and storage domain must be specified via cluster and storage_domain references.

Note

The import action is only available on templates listed under an export storage domain. See Section 9.1.3, “ Export Storage Domains ”.
Example 15.3. Action to import a template from an export storage domain
POST /rhevm-api/storagedomains/fabe0451-701f-4235-8f7e-e20e458819ed/templates/082c794b-771f-452f-83c9-b2b5a19c0399/import HTTP/1.1
Content-type: application/xml

<action>
    <storage_domain>
        <name>images0</name>
    </storage_domain>
    <cluster>
        <name>Default</name>
    </cluster>
</action>