question

AayushiSolanki-8981 avatar image
0 Votes"
AayushiSolanki-8981 asked Monalla-MSFT commented

fetching cost detail

I want to fetch cost of all tags, resource group, & services al together by using azure cost management API.
Is it possible with API to get each tag cost, resource group & services cost. If possible what dataset should be used in request body.

azure-cost-management
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AayushiSolanki-8981 - Did the below answer help resolve your issue, if not please revert back with any questions.
and if it did, please feel free to "accept as answer" so it can be beneficial to the community.


0 Votes 0 ·

1 Answer

Monalla-MSFT avatar image
0 Votes"
Monalla-MSFT answered Monalla-MSFT edited

Hello @AayushiSolanki-8981 - Thanks for reaching out to us.

In order for you to fetch cost of all tags, resource groups and services together using API, the best recommendation would be to start with using export details.

And if that doesn't work, the alternative would be to use usage details.

That gives you everything you need, you can group/filter on whatever you need from there.


Hope this helps. and please feel free to reach out if you have any further questions.



If the above response was helpful, please feel free to "Accept as Answer" and "Upvote" the same so it can be beneficial to the community.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.