Hello,
I am having some surprisingly difficult time trying to find an endpoint in the API where I can simply list the running VMs and their configurations.
I noticed that even in proxmoxer, and in it's related ansible module, it is not possible to get the configurations of a VM.
So far I considered:
- nodes/<node>/qemu/<vmid>/config: VMs can run anywhere, and they can change host more times in a minute. This is useless, because I can't nicely automate it.
- pvesh: I need to access the data from outside the Nodes. This is useless without a lot of workarounds.
Any other ideas? Kinda makes me wonder how does the graphical interface even get it's data.
Kind regards,
mvtab
I am having some surprisingly difficult time trying to find an endpoint in the API where I can simply list the running VMs and their configurations.
I noticed that even in proxmoxer, and in it's related ansible module, it is not possible to get the configurations of a VM.
So far I considered:
- nodes/<node>/qemu/<vmid>/config: VMs can run anywhere, and they can change host more times in a minute. This is useless, because I can't nicely automate it.
- pvesh: I need to access the data from outside the Nodes. This is useless without a lot of workarounds.
- if cluster/resources from the API would behave exactly like the pvesh cluster/resources that would be nice. It does not.
Any other ideas? Kinda makes me wonder how does the graphical interface even get it's data.
Kind regards,
mvtab