Questions tagged [azure-billing-api]

Use this tag for questions related to Azure Billing APIs, which is used to pull usage and resource data into your preferred data analysis tools. The Azure Resource Usage and RateCard APIs can help you accurately predict and manage your costs. The APIs are implemented as a Resource Provider and part of the family of APIs exposed by the Azure Resource Manager.

Useful Links:

  1. MSDN
  2. Documentation
  3. Code samples - Github
120 questions
0
votes
2 answers

Are the Azure usage and rate card APIs supported for US GOV EA subscriptions?

I have a client with a Azure subscription sitting in a US GOV data center. This subscription is under an EA (not pay-as-you-go). Attempting to use the standard billing APIs (ratecard and usage) fails with a 'Subscription not found' error. I.e.…
Greg
  • 3
  • 2
0
votes
1 answer

Azure Usage And Billing Portal DataGenStatus always pending

I have completed all the process describes in the tutorial Azure Usage and Billing Insights (AUBI) Portal https://github.com/Microsoft/AzureUsageAndBillingPortal without problems but at the end in the dashboard website the data generation status is…
0
votes
1 answer

RateCARD API MeterID doesn't match with UsageAggregation API MeterID

I have difficulties to match meterID (GUID) from rateCARD API response and meterID from UsageAggregation API response. I even looked at this Table ( azure.microsoft.com/de-de/support/guid-migration/) but this doesn't help either. The meterID from…
Anton Heck
  • 1
  • 1
  • 4
0
votes
0 answers

Azure Billing Usage API Aggregate functionality is not working

I am using Azure billing API (Resource Usage-Preview) for getting the consumption data for an Azure subscription and trying to get the aggregated data of particular dates on daily basis. As per the documentation, I am sending showDetails parameter…
0
votes
1 answer

Where can I find the list of all offers and their offer IDs?

I was trying to get all offers and their offer ID's from here. However, I have an offer Visual Studio Ultimate with MSDN, which was updated to Visual Studio Enterprise with MSDN (benefit). However, when I try to query all my subscriptions, what I…
jobin
  • 2,600
  • 7
  • 32
  • 59
0
votes
1 answer

Is there a complete documentation on the new format for Microsoft Azure usage API?

Microsoft Azure released their usage API and have documented it here. As documented, they have released a new output format for the usage API. However, the output I receive doesn't seem to absolutely conform to how it has been documented: { …
jobin
  • 2,600
  • 7
  • 32
  • 59
0
votes
3 answers

Enumerating a PSCustomObject

Does anyone have know of a way to "break" open a hash table source from a custom object. There is no .getenumerrator on a custom object but I have this hashtable: @{0=0.05; 1024=0.050; 51200=0.050; 512000=0.050; 1024000=0.045; 5120000=0.037}. I am…
0
votes
1 answer

How to get data from Azure usage API in a currency different from the region's currency?

I am trying to fetch rate card data for the usage information for my PAY-AS-YOU-GO Azure account using the following…
jobin
  • 2,600
  • 7
  • 32
  • 59
0
votes
2 answers

How to get the cost of a project from the usage quantity & meterRates using Azure's usage API?

Using Microsoft Azure's billing and usage API, I see that we can get the usage quantity of a resource for a project and the rate for the resource consumption from the rate card API. However, the rate card API, in some cases, has a list of key-value…
jobin
  • 2,600
  • 7
  • 32
  • 59
0
votes
2 answers

Azure Billing API: failure to acquire token (AADSTS90014)

I am running the Azure Billing API sample (ConsoleApp-Billing-Usage) and getting a failure on the acquire token call with the description: The request body must contain the following parameter: 'client_secret or client_assertion'. Any help would…
Marc
  • 1
  • 1
-1
votes
1 answer

Azure Service Principle Creation failing while configuring Harness Cost management report

I am configuring Harness Cost Management report for my Azure Dev subscription and getting the below error while creating the service principle. When using this permission, the backing application of the service principal being created must in the…
-1
votes
1 answer

I want to get every resources wise billing for my Azure portal

I want to get every resources wise billing for my Azure portal account, after having a discussion with their support team they tell me to download that xls or invoice pdf, but it's not contain resource name and proper value for that.
-2
votes
1 answer

Is it possible to have two different billing Currences under single tenant?

I have a 4 subscriptions with billing currency of USD. and recently purchased a free trial subscription with INR as a billing currency. How Azure allowed this? Is this supported in Azure having multiple currencies under a single tenant?
-2
votes
1 answer

Use soon to expire Azure credits

I have a question regarding the free azure credits. I registered on 11/19/2021 and used around 80$ (60EUR) of services during December and my credits are going to expire on the 12/19/2021. I want to stop my services before the 19, but: Will I be…
Imperial A
  • 57
  • 5
-2
votes
1 answer

How to get the Cost of Azure Managed Disk based on the VM Size using powershell or API?

I am looking for a PowerShell cmdlet or API, which can give me the cost of the Managed Disk as we can see from the Azure Portal
1 2 3 4 5 6 7
8