Hello Sam,
Thanks for posting your question in the Microsoft Q&A forum.
Here's how you can achieve this:
This API allows you to retrieve the instance view of multiple VMs in a single request.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView?api-version=2021-07-01
- To include additional metrics like disk operations and CPU min/max, you can use the "expand" parameter in the AP
Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful