Ce contenu n'est pas disponible dans la langue sélectionnée.
15.5. Methods
15.5.1. Creating a Virtual Machine Copier lienLien copié sur presse-papiers!
name, template, and cluster elements. Identify the template and cluster elements with the id attribute or name element. Identify the CPU profile ID with the cpuprofiles attribute.
Example 15.4. Creating a virtual machine with 512 MB that boots from CD-ROM
Example 15.5. Creating a virtual machine with 512 MB that boots from a virtual hard disk
Note
15.5.2. Updating a Virtual Machine Copier lienLien copié sur presse-papiers!
name, description, cluster, type, memory, cpu, os, high_availability, display, timezone, domain, stateless, placement_policy, memory_policy, usb, payloads, origin and custom_properties elements are updatable post-creation.
Example 15.6. Updating a virtual machine to contain 1 GB of memory
Note
Note
Example 15.7. Hot plugging vCPUs
Note
Example 15.8. Pinning a virtual machine to multiple hosts
15.5.3. Removing a Virtual Machine Copier lienLien copié sur presse-papiers!
DELETE request.
Example 15.9. Removing a virtual machine
DELETE /ovirt-engine/api/vms/082c794b-771f-452f-83c9-b2b5a19c0399 HTTP/1.1 HTTP/1.1 204 No Content
DELETE /ovirt-engine/api/vms/082c794b-771f-452f-83c9-b2b5a19c0399 HTTP/1.1
HTTP/1.1 204 No Content
15.5.4. Removing a Virtual Machine but not the Virtual Disk Copier lienLien copié sur presse-papiers!
DELETE request.
Example 15.10. Removing a virtual machine