POST /admin/extension/vimServer/{id}/importVmAsVAppTemplate
- Operation:
- POST /admin/extension/vimServer/{id}/importVmAsVAppTemplate
- Description:
- Imports a vSphere server VM as vApp template.
The returned vApp template entity will contain a task of importing process.
User must periodically check this task and start using the vApp template
when the task is finished.
The VMs which could be imported are only VMs which are listed from this
operation: GET .../api/v1.0/admin/extension/vimServer//vmsList?page=1&pageSize=100
- Since:
- 1.0
- Input parameters
-
- Consume media type(s):
- application/vnd.vmware.admin.importVmAsVAppTemplateParams+xml
- Input type:
- ImportVmAsVAppTemplateParamsType
- Output parameters
-
VAppTemplateType
- Produce media type(s):
- application/vnd.vmware.vcloud.vAppTemplate+xml
- Output type:
- VAppTemplateType
- Examples
-