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
1 answer

how to develop Azure CSP billing Api in azure functions using .net core

I am trying to develop an API for azure billing for CSP in azure functions using .net core 3 any guidance will be appreciated. how do I call a billing API from the azure function?
0
votes
1 answer

how to find ServiceName in Azure Cloud billing export

In Azure Cost analysis console, we have the option to filter by Service Name. The same Column is NOT there in the billing CSV export I’m getting from Azure. Does anyone know how to filter Service name in billing export
0
votes
1 answer

Daily billing status for CSP plan

we are using a subscription bought from an CSP. and we want to know daily billing and consumption . But CSP vendor says that we have to buy a 3rd party application to get daily billing consumption. Is there any way by which we can get daily billing…
Gaurav Moolani
  • 342
  • 1
  • 3
  • 12
0
votes
2 answers

Not able to Access Billing info using Azure CLI

I created a service principal using rbac and using the subscription id and I was able to login and all CLI calls with Azure using this sp and this login (creating SP az ad sp create-for-rbac -n "AppName1" --role contributor --scopes…
0
votes
1 answer

How to get Billing details including usage details and tax

I want to get Billing Details including Usage details and tax info ( cost including tax ). I used GET https://management.azure.com/{scope}/providers/Microsoft.Consumption/usageDetails?api-version=2019-10-01 this API but I am not able to get…
DAK
  • 282
  • 1
  • 18
0
votes
1 answer

Alert rule pricing confusion

I have created an alert rule using a custom log query. Whenever the threshold is met, an alert is sent out using the alert action. In the image, it shows that the monthly cost $1.50. As per the Azure Monitor pricing, it mentions that the Alert rules…
0
votes
1 answer

Check total space used in azure storage accounts in my subscription

Because I have been charge a lot of money by storage, and I have so many storage account. I want to know how can I check how much my total storage usage in my subscription ? I have check this this similar question, but they only provide how to…
howie
  • 2,587
  • 3
  • 27
  • 43
0
votes
1 answer

Azure billing - separate invoices

Is there a way in Azure to get 2 (or more) separate invoices for consumption of resources created under the same subscription basing on resource group membership? Example: Resource Group A - with a Sql database - 1 invoice Resource Group B - with…
filip
  • 1,444
  • 1
  • 20
  • 40
0
votes
1 answer

InvoiceId (or equivalent) missing from EA usage billing

Hoping someone can help with this. I'm pulling usage information from the Azure API: https://consumption.azure.com/v3/enrollments/{enrollment}/usagedetails/submit?startTime=2019-08-01&endTime=2019-08-31 Which will return a url (when status is 3)…
Phil Cooper
  • 3,083
  • 39
  • 63
0
votes
1 answer

how to pass param while getting billing data azure function

For getting the azure subscription billing data I am passing params it's not apply const axios = require('axios'); let usage = []; function getUsage(subscriptionId, accessToken) { const url =…
Gopal Meena
  • 99
  • 1
  • 7
0
votes
1 answer

Azure Billing Enterprise API data issue from may 2019

I am observing from last 3 month, we are not getting expected response from azure billing enterprise API. API - https://consumption.azure.com/v3/enrollments/{enrollmentNumber}/billingPeriods/{billingPeriod}/usagedetails From May-2019 we are getting…
0
votes
1 answer

Azure China Billing report API endpoint

Consumption APIs for Azure China. Which API do I need to call for China which is similar to https://consumption.azure.com?
Praveen kumar
  • 225
  • 1
  • 6
  • 18
0
votes
1 answer

How do you get the OfferDurableId for an Azure subscription?

In an attempt to call the RateCard API in Azure there is a need for several parameters that the typical Azure administrator will not have at hand easily. These include: OfferDurableId Currency Locale RegionInfo If all we have is the…
Dana Epp
  • 509
  • 1
  • 5
  • 13
0
votes
1 answer

Hidden VM Azure Marketplace deployment

Is having a VM set to 'Hidden' within the cloud partner portal the suggested method for adding billing functionality to an Azure application offer in the marketplace? Can anyone give us guidance for this? We can't find any documentation for this.
Matt Lang
  • 1
  • 2
0
votes
1 answer

How to create LUIS application that can be accessed through my organization account?

I am using LUIS to extract intent for the user utterances. I have did it through my own free Microsoft account. Now how can I get a organization subscription? Is it free like the normal Microsoft account or billing different for the organization or…