How can I get Azure services retail prices with AHUB?
I am looking to fetch retail prices of instances (with ABUB).
I hit the retail price API - https://prices.azure.com/api/retail/prices?$filter=serviceName eq 'Virtual Machines' and armRegionName eq ‘eastus’ and armSkuName eq ‘Standard_E64_v3’
and found that for Windows OS type there are 2 consumption types- Consumption and DevTestConsumption. Psting the snippet below.
{
"BillingCurrency": "USD",
"CustomerEntityId": "Default",
"CustomerEntityType": "Retail",
"Items": [
{
"currencyCode": "USD",
"tierMinimumUnits": 0,
"retailPrice": 3.616,
"unitPrice": 3.616,
"armRegionName": "eastus",
"location": "US East",
"effectiveStartDate": "2021-11-01T00:00:00Z",
"meterId": "61e3a7f9-67e8-53c8-bdc6-d8624b9687b9",
"meterName": "D64ds v5",
"productId": "DZH318Z08MC5",
"skuId": "DZH318Z08MC5/00HF",
"availabilityId": null,
"productName": "Virtual Machines Ddsv5 Series Windows",
"skuName": "Standard_D64ds_v5",
"serviceName": "Virtual Machines",
"serviceId": "DZH313Z7MMC8",
"serviceFamily": "Compute",
"unitOfMeasure": "1 Hour",
"type": "DevTestConsumption",
"isPrimaryMeterRegion": true,
"armSkuName": "Standard_D64ds_v5"
},
{
"currencyCode": "USD",
"tierMinimumUnits": 0,
"retailPrice": 6.56,
"unitPrice": 6.56,
"armRegionName": "eastus",
"location": "US East",
"effectiveStartDate": "2021-11-01T00:00:00Z",
"meterId": "61e3a7f9-67e8-53c8-bdc6-d8624b9687b9",
"meterName": "D64ds v5",
"productId": "DZH318Z08MC5",
"skuId": "DZH318Z08MC5/00HF",
"availabilityId": null,
"productName": "Virtual Machines Ddsv5 Series Windows",
"skuName": "Standard_D64ds_v5",
"serviceName": "Virtual Machines",
"serviceId": "DZH313Z7MMC8",
"serviceFamily": "Compute",
"unitOfMeasure": "1 Hour",
"type": "Consumption",
"isPrimaryMeterRegion": true,
"armSkuName": "Standard_D64ds_v5"
}
}
Observation that I infer from here is --> when I go to pricing page in Azure and find the price of VM (with AHB enabled) --> D64ds v5 ; it shows 3.616$/hour which matches with the price of DevTestConsumption type as highlighted in the above response.
And if I disable the AHB option then for the same VM - D64ds v5, I find the price to be $6.5600/hour which matches with the price of Consumption type as highlighted in the above response.
So, is it alright to consider DevTestConsumption type prices in order to fetch retail prices of instances with AHB ??