Ce contenu n'est pas disponible dans la langue sélectionnée.
17.3. Methods
17.3.1. Creating a New Template Copier lienLien copié sur presse-papiers!
name
and vm
elements. Identify the vm
with the id
attribute or name
element.
Example 17.2. Creating a template from a virtual machine
17.3.2. Creating a New Template Sub Version Copier lienLien copié sur presse-papiers!
name
and vm
elements for the new template, and the base_template
and version_name
elements for the new template version. The base_template
and version_name
elements must be specified within a version
section enclosed in the template
section. Identify the vm
with the id
attribute or name
element.
Example 17.3. Creating a template sub version from a virtual machine
17.3.3. Updating a Template Copier lienLien copié sur presse-papiers!
name
, description
, type
, memory
, cpu topology
, os
, high_availability
, display
, stateless
, usb
and timezone
elements can be updated after a template has been created.
Example 17.4. Updating a virtual machine template to contain 1 GB of memory
17.3.4. Updating a Template Sub Version Copier lienLien copié sur presse-papiers!
version_name
element can be updated after a template sub version has been created.
Example 17.5. Updating a virtual machine template sub version name
17.3.5. Removing a Template Copier lienLien copié sur presse-papiers!
DELETE
request.
Example 17.6. Removing a virtual machine template
DELETE /ovirt-engine/api/templates/00000000-0000-0000-0000-000000000000 HTTP/1.1 HTTP/1.1 204 No Content
DELETE /ovirt-engine/api/templates/00000000-0000-0000-0000-000000000000 HTTP/1.1
HTTP/1.1 204 No Content