Hi all!
I am attempting to utilize Veeam B&R's REST API to attain information on all protected VMs. Currently, after looking through the swagger documentation, the only place that I can find that has vms listed is through the Backup Jobs endpoint `api/v1/jobs`, and this does not seem to list all vms either regardless of whether or not they are attached to a listed job. Am i missing some endpoint? Is there a better way to get all protected VM information (IP addresses, MACs, OS version) and the job that they are attached to if they are attached to any job?
thanks,
Benjamin Hake
Try the GetAllBackupObjects endpoint -- this returns all VMs that are currently protected in Veeam, but it's fairly limited in information as these endpoints are more about managing the Backup Server than reporting. GetInventoryObjects can also help, but I think the information is similarly limited.