Azure Retail Pricing API returning incorrect data for Reservations

Matthew Rushton 1 Reputation point
2022-05-10T00:30:13.393+00:00

Hi,

Some of the VM Reservation prices from the Azure Retail Pricing API are not returning the correct values...

/usr/bin/curl -s 'https://prices.azure.com/api/retail/prices?currencyCode=%27AUD%27&$filter=serviceName%20eq%20%27Virtual%20Machines%27%20and%20Location%20eq%20%27AU%20East%27%20and%20priceType%20eq%20%27Consumption%27%20and%20meterName%20eq%20%27E16%20v5%27'|/usr/bin/jq
{
"BillingCurrency": "AUD",
"CustomerEntityId": "Default",
"CustomerEntityType": "Retail",
"Items": [
{
"currencyCode": "AUD",
"tierMinimumUnits": 0,
"retailPrice": 2.7355,
"unitPrice": 2.7355,
"armRegionName": "australiaeast",
"location": "AU East",
"effectiveStartDate": "2021-11-01T00:00:00Z",
"meterId": "6f3aa515-837f-5fab-8413-47776b3ab11b",
"meterName": "E16 v5",
"productId": "DZH318Z08M9H",
"skuId": "DZH318Z08M9H/00N7",
"productName": "Virtual Machines Ev5 Series Windows",
"skuName": "Standard_E16_v5",
"serviceName": "Virtual Machines",
"serviceId": "DZH313Z7MMC8",
"serviceFamily": "Compute",
"unitOfMeasure": "1 Hour",
"type": "Consumption",
"isPrimaryMeterRegion": true,
"armSkuName": "Standard_E16_v5"
},
{
"currencyCode": "AUD",
"tierMinimumUnits": 0,
"retailPrice": 1.6999,
"unitPrice": 1.6999,
"armRegionName": "australiaeast",
"location": "AU East",
"effectiveStartDate": "2021-11-01T00:00:00Z",
"meterId": "fd58a26b-1455-5a58-87ec-59e3d905b140",
"meterName": "E16 v5",
"productId": "DZH318Z08M9J",
"skuId": "DZH318Z08M9J/0023",
"productName": "Virtual Machines Ev5 Series",
"skuName": "Standard_E16_v5",
"serviceName": "Virtual Machines",
"serviceId": "DZH313Z7MMC8",
"serviceFamily": "Compute",
"unitOfMeasure": "1 Hour",
"type": "Consumption",
"isPrimaryMeterRegion": true,
"armSkuName": "Standard_E16_v5"
}
],
"NextPageLink": null,
"Count": 2
}
colossus: bin $ /usr/bin/curl -s 'https://prices.azure.com/api/retail/prices?currencyCode=%27AUD%27&$filter=serviceName%20eq%20%27V irtual%20Machines%27%20and%20Location%20eq%20%27AU%20East%27%20and%20meterName%20eq%20%27E16%20v5%27'|/usr/bin/jq {
"BillingCurrency": "AUD",
"CustomerEntityId": "Default",
"CustomerEntityType": "Retail",
"Items": [
{
"currencyCode": "AUD",
"tierMinimumUnits": 0,
"retailPrice": 1.6999,
"unitPrice": 1.6999,
"armRegionName": "australiaeast",
"location": "AU East",
"effectiveStartDate": "2021-11-01T00:00:00Z",
"meterId": "6f3aa515-837f-5fab-8413-47776b3ab11b",
"meterName": "E16 v5",
"productId": "DZH318Z08M9H",
"skuId": "DZH318Z08M9H/00N7",
"productName": "Virtual Machines Ev5 Series Windows",
"skuName": "Standard_E16_v5",
"serviceName": "Virtual Machines",
"serviceId": "DZH313Z7MMC8",
"serviceFamily": "Compute",
"unitOfMeasure": "1 Hour",
"type": "DevTestConsumption",
"isPrimaryMeterRegion": true,
"armSkuName": "Standard_E16_v5"
},
{
"currencyCode": "AUD",
"tierMinimumUnits": 0,
"retailPrice": 2.7355,
"unitPrice": 2.7355,
"armRegionName": "australiaeast",
"location": "AU East",
"effectiveStartDate": "2021-11-01T00:00:00Z",
"meterId": "6f3aa515-837f-5fab-8413-47776b3ab11b",
"meterName": "E16 v5",
"productId": "DZH318Z08M9H",
"skuId": "DZH318Z08M9H/00N7",
"productName": "Virtual Machines Ev5 Series Windows",
"skuName": "Standard_E16_v5",
"serviceName": "Virtual Machines",
"serviceId": "DZH313Z7MMC8",
"serviceFamily": "Compute",
"unitOfMeasure": "1 Hour",
"type": "Consumption",
"isPrimaryMeterRegion": true,
"armSkuName": "Standard_E16_v5"
},
{
"currencyCode": "AUD",
"tierMinimumUnits": 0,
"reservationTerm": "3 Years",
"retailPrice": 16976.0079,
"unitPrice": 16976.0079,
"armRegionName": "australiaeast",
"location": "AU East",
"effectiveStartDate": "2021-11-01T00:00:00Z",
"meterId": "fd58a26b-1455-5a58-87ec-59e3d905b140",
"meterName": "E16 v5",
"productId": "DZH318Z08M9J",
"skuId": "DZH318Z08M9J/02WZ",
"productName": "Virtual Machines Ev5 Series",
"skuName": "Standard_E16_v5",
"serviceName": "Virtual Machines",
"serviceId": "DZH313Z7MMC8",
"serviceFamily": "Compute",
"unitOfMeasure": "1 Hour",
"type": "Reservation",
"isPrimaryMeterRegion": true,
"armSkuName": "Standard_E16_v5"
},
{
"currencyCode": "AUD",
"tierMinimumUnits": 0,
"retailPrice": 1.6999,
"unitPrice": 1.6999,
"armRegionName": "australiaeast",
"location": "AU East",
"effectiveStartDate": "2021-11-01T00:00:00Z",
"meterId": "fd58a26b-1455-5a58-87ec-59e3d905b140",
"meterName": "E16 v5",
"productId": "DZH318Z08M9J",
"skuId": "DZH318Z08M9J/0023",
"productName": "Virtual Machines Ev5 Series",
"skuName": "Standard_E16_v5",
"serviceName": "Virtual Machines",
"serviceId": "DZH313Z7MMC8",
"serviceFamily": "Compute",
"unitOfMeasure": "1 Hour",
"type": "Consumption",
"isPrimaryMeterRegion": true,
"armSkuName": "Standard_E16_v5"
},
{
"currencyCode": "AUD",
"tierMinimumUnits": 0,
"reservationTerm": "1 Year",
"retailPrice": 8784.9152,
"unitPrice": 8784.9152,
"armRegionName": "australiaeast",
"location": "AU East",
"effectiveStartDate": "2021-11-01T00:00:00Z",
"meterId": "fd58a26b-1455-5a58-87ec-59e3d905b140",
"meterName": "E16 v5",
"productId": "DZH318Z08M9J",
"skuId": "DZH318Z08M9J/02X3",
"productName": "Virtual Machines Ev5 Series",
"skuName": "Standard_E16_v5",
"serviceName": "Virtual Machines",
"serviceId": "DZH313Z7MMC8",
"serviceFamily": "Compute",
"unitOfMeasure": "1 Hour",
"type": "Reservation",
"isPrimaryMeterRegion": true,
"armSkuName": "Standard_E16_v5"
}
],
"NextPageLink": null,
"Count": 5
}

As above it shows that the 1 Year and 3 Years Reservation costs are a lot higher than the normal consumption price. The cost estimate page and the pricing page look correct. Please advise if there is a calculation that should be done on the numbers or if the costs listed will be fixed.

Regards,

Matthew Rushton

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,580 questions
Azure Cost Management
Azure Cost Management
A Microsoft offering that enables tracking of cloud usage and expenditures for Azure and other cloud providers.
2,350 questions
{count} votes