I have a Kusto query that can help me list a few resources:
ResourceContainers
| where type=='microsoft.resources/subscriptions/resourcegroups' | project name, type | limit 5
| union (Resources | project name, type | limit 5)
I would like to add for each resource the cost of the last 30 days.
I know I can do that through Workbooks but I don't know how to do that from the Azure Resource Graph Explorer.
I know that form the Azure Resource Graph Explorer I can query the Azure Advisor, which is something similar to what I want to do.
But how can I reach the Cost Management API?
It isn't possible to retrieve cost details of each resource using ARG as of now.