Dear all
I am trying to query the guest agent status of a VM via API. Unfortunately I get the following message. I am not very familiar in using the Api. How can I query the PID? Could someone help me further?
Thanks and BR
I am trying to query the guest agent status of a VM via API. Unfortunately I get the following message. I am not very familiar in using the Api. How can I query the PID? Could someone help me further?
Code:
root@Pve01:~# pvesh get /nodes/Pve01/qemu/200/agent/exec-status --output-format json
400 Parameter verification failed.
pid: property is missing and it is not optional
pvesh get <api_path> --pid <integer> [OPTIONS] [FORMAT_OPTIONS]
root@Pve01:~#
Thanks and BR