Files
inecs cbd0adca91 Initial release of the oVirt/RHV Engine API simulator.
Stateful FastAPI lab with contract packs, Compose/Helm, Docker Hub release
targets, and Pulumi coverage across all Engine series (GET/POST/PUT/DELETE/HEAD).
2026-07-18 04:49:28 +03:00

27 lines
1.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
**Language / Язык:** [English](../../domains/vms.md) | [Русский](vms.md)
# Виртуальные машины
| Коллекция | Путь |
|---|---|
| VMs | `/ovirt-engine/api/vms` |
| Templates | `/ovirt-engine/api/templates` |
Вложенные ресурсы (disk attachments, NIC, snapshots) доступны под id ВМ, если
они объявлены в pack.
```bash
# Список
curl -k -u 'admin@internal:secret' -H 'Accept: application/json' -H 'Version: 4' \
https://127.0.0.1/ovirt-engine/api/vms
# Создание (эскиз JSON)
curl -k -u 'admin@internal:secret' -H 'Content-Type: application/json' -H 'Version: 4' \
-d '{"name":"lab-vm-1","cluster":{"name":"Default"}}' \
https://127.0.0.1/ovirt-engine/api/vms
```
Длительные действия отражаются как Engine [jobs](jobs.md). Клиентские suites
проверяют create/get/modify/delete ВМ, а также диски и NIC — см.
[`pulumi-tests/`](../../../pulumi-tests/README.ru.md).