Files
ovirt-api-simulator/docs/domains/vms.md
T
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
877 B
Markdown

**Language / Язык:** [English](vms.md) | [Русский](../ru/domains/vms.md)
# Virtual machines
| Collection | Path |
|---|---|
| VMs | `/ovirt-engine/api/vms` |
| Templates | `/ovirt-engine/api/templates` |
Nested resources (disk attachments, NICs, snapshots) are available under each VM
id where the pack declares them.
```bash
# List
curl -k -u 'admin@internal:secret' -H 'Accept: application/json' -H 'Version: 4' \
https://127.0.0.1/ovirt-engine/api/vms
# Create (JSON sketch)
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
```
Long-running actions surface as Engine [jobs](jobs.md). Client suites exercise
create/get/modify/delete VM plus disk and NIC flows — see
[`pulumi-tests/`](../../pulumi-tests/README.md).