Hello,
Welcome to Microsoft Q&A,
We can't call REST API from an Log Analytics KQL Query. KQL has no HTTP client. You need an external runner (Logic App / Function / Automation) to call the API, then (optionally) push the results into your workspace where you can query/alert on them.
Option 1: Logic App - Call the ARM endpoint on a schedule, email the results, and/or write them to Log Analytics.
https://docs.azure.cn/en-us/azure-monitor/logs/tutorial-logs-ingestion-api?tabs=dcr
Option 2: Azure Function / Automation Runbook
Acquire token with managed identity → GET the Usages endpoint → email or write to Log Analytics using the Logs Ingestion API. (Useful if you prefer code over a designer.)
Please Upvote and accept the answer if it helps!!