I'd like to retrieve the current cost of my azure usage using the cli. On the Azure UI I can easily see the total costs in Subscriptions:
The closest I can get to retrieving costs is using the az consumption usage list
command:
az consumption usage list --debug --end-date 2019-07-19 --start-date 2019-07-01
This command gives me an extremely fine-grained list of the services I've been using along with their costs. All I want is the simple sum.
I'm wondering if there is a way to directly retrieve the totals?