Hi there,
We are trying to utilise the Retail API to pull some pricing for virtual machines.
I can get the following;
PAYG,
PAYG with AHUB
1 Year Reserved Instance with AHUB
3 Year Reserved Instance with AHUB
I cannot however retrieve Reserved Instance pricing (both 1 year and 3 year) without AHUB. The pricing calculator allows for this selection, but it appears the Retail Prices API does not.
Example;
https://prices.azure.com/api/retail/prices?currencyCode=GBP&$filter=armSkuName eq 'Standard_D1_v2' and armRegionName eq 'uksouth' and serviceFamily eq 'Compute' and serviceName eq 'Virtual Machines'
This only brings 2 Reservation Type prices back (along with other Consumption ones) - both 1 Year and 3 Year with AHUB. It does not bring back the Reservation prices without - which I would have expected to have a "Windows" appended to the productName
![![255940-image.png][1]][2]
![256031-image.png][3]
I therefore do not know how I can calculate the Windows license cost for Reservation type prices. I attempted to do a calculation on the difference between a PAYG and PAYG AHUB to establish the Windows license cost, but it appears the Windows license cost changes on the Azure Pricing Calculator when you select Reserved Instances.
Help!