I believe that veeam creates a resource pool for the hardware plan of the format [Hardware plan]_[Tenant Name] and the replicated VM's appear under that in VMWare, with a customer generated suffix on failover.
I'm trying to get the names of the VM replicas on VMWare in the hardware plan.
If I use lookup:
Code: Select all
/api/lookup?host=urn:veeam:HierarchyRoot:554cac72-2924-4b92-90c5-65a3cdb70086&name=*&type=Vm
Code: Select all
+"HierarchyItems": array:1 [▼
0 => {#312 ▼
+"ObjectRef": "urn:VMware:Vm:554cac72-2924-4b92-90c5-65a3cdb70086.vm-7396"
+"ObjectType": "Vm"
+"ObjectName": "Clifford Home_cockpit-01_replica"
+"Type": "HierarchyItem"
}
]
Please can someone help me generate this query?
Thanks