user2315104
user2315104

Reputation: 2730

How to get cost of Azure subscription programmatically

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 ?

Upvotes: 2

Views: 401

Answers (1)

Sajeetharan
Sajeetharan

Reputation: 222722

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

Upvotes: 1

Related Questions