Azure Retail Price not providing all prices as Pricing Calculator provides

Seema Sam 6 Reputation points
2022-09-20T12:10:28.48+00:00

Hi Team,

We are using the Azure Retail Prices API for getting all the Pricing across different resources. We found some values are missing, when we compare the same with the Pricing Calculator.

Example

  1. Pricing API
    https://prices.azure.com/api/retail/prices?api-version=2021-10-01-preview&$filter=armRegionName eq 'eastus' and serviceFamily eq 'Compute' and serviceName eq 'Virtual Machines' and skuName eq 'Standard_NV72ads_A10_v5 Spot'
    Response: we just get 3 row values which does not have any reservation type Prices
    243041-image.png
    1. Pricing Calculator shows options for 1RI and 3RI
      243034-image.png

How can we rectify this discrepancy? There are few others in the same way.

Thanks and Regards
Seema Sam

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,185 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bjoern Peters 8,781 Reputation points
    2022-09-22T16:47:14.593+00:00

    Hi @Seema Sam

    you are missing one import detail between your API-Call and your screenshot of Azure Calculator:

    you are querying two different SKUs

    'Standard_NV72ads_A10_v5 Spot'
    and
    Standard_NV72ads_A10_v5

    Of cause, it is not possible to get any reservation on any SPOT instance!

    Use Spot Virtual Machines to buy unused compute capacity at significant cost savings. Deploy workloads that can handle interruptions and don't need to be completed within a specific period of time. Run workloads for development, testing, quality assurance, advanced analytics, big data, machine learning and AI, batch jobs, rendering and transcoding of videos, graphics, and images at a very low cost.

    https://azure.microsoft.com/en-us/services/virtual-machines/spot/

    If you have another example where you are missing some rows or experience difference let us know.

    If this answer helps you, please click the "Accept answer" button. Thx

    0 comments No comments