From this page I found the Azure retail price API now includes spot pricing - if you hit this Compute Pricing API query (change the USD currency as applicable), for example, you can observe I found some spot unit pricing, in one of many regions I may be interested in.
Get pricing information for spot vm using enterprise apis
Ravindra Naik
41
Reputation points
Hi,
I was wondering if there are any api's which are available for enterprises to get the spot vm's pricing information. I did have this link, https://learn.microsoft.com/en-us/rest/api/cost-management/retail-prices/azure-retail-prices, which is helpful but if there is any api for enterprises that would help.
1 answer
Sort by: Most helpful
-
Ryan Johnson 6 Reputation points Microsoft Employee
2022-07-20T17:30:28.677+00:00