Questions tagged [ratecard-api]

12 questions
1
vote
1 answer

Azure Ratecard Api to get VM price

AWS provides a pricing api to get cost details of each service. If you want to know the price of an EC2 instance, you just pass the region,instance type(eg:t2.micro) and service code of EC2 to the pricing API and it returns the pricing details. I…
praveen
  • 45
  • 6
1
vote
0 answers

The "rate" in the Azure usage report is different from Ratecard API - MeterRates

I'm using the Pay-As-You-Go offer type (0003P) and found out the "rate" for some of the services are not the same with by using Ratecard API. ex: the rate is "0.624988" for A0 VM (Windows) in JA East from usage report, but "0.7213" in MeterRate from…
Jack
  • 11
  • 1
1
vote
1 answer

How to get 'credit available' and 'days remain' using Azure Billing API?

Is it possible to get the two indicators of the old management portal using the Azure Billing or RateCard API like shown below? thank you!
1
vote
1 answer

azure billing rate card api returns noting

I am trying to call the Azure billing rate card api. The call is happening successfully after the authentication because the status code is OK. But though I have a vm in the corresponding resource group and subscription, always getting response…
0
votes
1 answer

Error when trying to fetch azure subscription rate card and consumption usage

I am trying to fetch ratecard and uage for my pay as you go subscription. However consistently getting exception. Tried multipple options but none are working. Option 1 used to work flawlessly in the past but since last 4 weeks getting below…
0
votes
1 answer

Parse JSON to CSV using jq but split sub list in multiple records

I am parsing a JSON result which i get from the Azure RateAPI and want to convert it into a standard CSV file. The following line is what i am using to convert it into CSV and it works but as one of the attributes is a list, it does not provide me…
Mercator
  • 3
  • 1
0
votes
1 answer

Is there a Azure RateCard, which shows the MeterRates for all Linux OS (especially RHEL)?

I "download" a RateCard with the Azure REST Api because I need the VM's prices. Any VM is two times in the RateCard. One time with the Windows OS and one time with the Linux Ubuntu. I only need the VMs with Linux RHEL but these are not in the…
Wuld
  • 41
  • 1
  • 9
0
votes
0 answers

Authentication information is not given in the correct format. Check the value of Authorization header in Azure Ratecard Apis in .net core

I am trying to get azure rate card details by following api in asp.net core application, API: https : //management.azure.com/subscriptions/{Sub Id}/providers/Microsoft.Commerce/RateCard?api-version=2015-06-01-preview&$filter=OfferDurableId eq…
Anand K
  • 1
  • 1
  • 1
0
votes
2 answers

Access RateCard API from Government Cloud, Region usgovvirgia

In trying to access RateCard info in the Government Cloud, Region usgovvirgia, and working from example on github: https://github.com/Azure-Samples/billing-dotnet-usage-api. GitHub Sample throws Unhandled exception: AADSTS65005 (see links…
HerbM
  • 521
  • 6
  • 14
0
votes
1 answer

US East based Azure SQL Database rates

I am unable to find the unit rate for an Azure Standard S3 SQL database in the US East region. I don't find this information in the Azure Rate Card JSON file. Expected Meter Category - Data Services Expected Meter Sub Category - SQL…
0
votes
1 answer

Access Azure RateCardAPI using ADAL without login prompt

We need to build a simple windows service to fetch the data from Azure Rate Card API and store the data in local database. To do so, i started to follow this sample however, it prompts for user credentials to AcquireToken for subsequent calls.…
Vikram
  • 6,865
  • 9
  • 50
  • 61
-3
votes
1 answer

How to get all available Azure VMs' core and ram details

How can we find the core and ram details of Azure VM SKUs programmatically? I have used the Ratecard api to get a list of available SKUs with their availability region and pay-as-you-go prices but couldn't find their exact specifications.