Search code examples
javaazuresdkazure-billing-api

Is there a Java SDK for Azure usage and billing API?


I came to know that Azure recently released their billing and usage API. I am aware of Azure's Java SDK, but did not find classes which will give me usage and billing data in the SDK docs. However, is there a Java SDK released for the same or should I write my own HTTP client queries to get data using these API's?


Solution

  • I am not aware of any Billing and Usage SDK for .net or Java. I think there is only the following options:

    Azure Usage API – A REST API that customers and partners can use to get their usage data for an Azure subscription.

    Azure RateCard API – A REST API that customers and partners can use to get the list of the available resources they can use, along with metadata and price information about them.

    http://weblogs.asp.net/scottgu/new-azure-billing-apis-available

    https://msdn.microsoft.com/en-us/library/azure/mt218998.aspx

    So yes, you would have to make your own HTTP client requests.