How to get cost of Azure subscription programmatically

Viewed 125

Trying to understand the different Azure APIs to get the Azure subscription cost details programmatically. I see RateCard API is good approach. In the output/response of this API , there is something called meterID and meterDetails.

anyone know what is this meterID and meterDetails ? how to get it using Azure Portal ?

1 Answers

The meterID is a GUID for every resource except VMs. meterDetails is the detailed Usage. You can get these details from the cost management section in Azure portal

Related