Hello Matthew Simmons,
Welcome to the MS Q&A forum.
I am wondering if the Usage Details API will work for you => https://learn.microsoft.com/en-us/rest/api/consumption/usage-details/list?tabs=HTTP#code-try-0
Sincerely,
Olga Os.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Using the Virtual Machine API (https://learn.microsoft.com/en-us/rest/api/compute/virtual-machines/get?tabs=HTTP), it doesn't seem possible to view the SKU that a resource is currently being billed with. I can find the hardware profile, of course, but that correlates with the skuName in the Price API (https://learn.microsoft.com/en-us/rest/api/cost-management/retail-prices/azure-retail-prices), which isn't unique.
Is it possible to view which skuId or meterId a VM is assigned?
Thanks,
--Matt
Hello Matthew Simmons,
Welcome to the MS Q&A forum.
I am wondering if the Usage Details API will work for you => https://learn.microsoft.com/en-us/rest/api/consumption/usage-details/list?tabs=HTTP#code-try-0
Sincerely,
Olga Os.