Prashanth Kumar
Jan 21, 2024

--

Hi Ashish,

Yes it is possible to get details for Azure batch accounts, you need to use consumed service as "microsoft.batch" & below is the output for your reference. However you may need to calculate based on unit price and quantities.

"product": "Virtual Machines Dv3/DSv3 Series - D2 v3/D2s v3 - US East",

"partNumber": "AAA-44977",

"meterId": "ae331802-83a5-4b9e-b287-85675f794e3d",

"quantity": 21,

"effectivePrice": 0,

"cost": 0,

"unitPrice": 0.065,

"billingCurrency": "EUR",

"resourceLocation": "EastUS",

"consumedService": "Microsoft.Batch",

Similarly you can fetch data for other resource intensive such as for AKS, SQL Managed Instances, PostGre and list goes on etc.

--

--

Prashanth Kumar
Prashanth Kumar

Written by Prashanth Kumar

IT professional with 20+ years experience, feel free to contact me at: Prashanth.kumar.ms@outlook.com

No responses yet