I'm trying to get the cost of my VM from the Azure Api in c#. I'm pretty much able to get all the VM information but the cost its accumulated so far this month. Any ideas how I can do that?
I'd like to see the total accumulated cost for this period for the VM
To check the accumulated cost for your VM you can use the Azure pricing calculator .
Below is the screenshot to check the cost of the vm for the day/month/Hour :
Still if you have any query/doubt you can reach out to Azure support
For more information please refer the below links:
SO THREAD: Pricing API for Azure
MS DOC: Azure Retail Prices API sample
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.