4

I'm new to Azure API's and am trying to create a simple interface to grab the remaining credits on a handful of azure accounts that I manage. I started doing this using vbs as that's the only language I'm really familiar with. I ran into several issues with login pages and someone recommended using the Azure API.

I've wandered into an area I'm wholly unfamiliar with. From what I'm reading it's a relatively new interface as is and most people are unfamiliar with it. I've used the following sample:

https://azure.microsoft.com/en-us/documentation/samples/billing-dotnet-usage-api/

To be able to log into the account but from there I'm stuck really. The code provided just returns an empty "value[]" as a result.

I'm sort of at a loss. I'm reading through the azure API resources on MSDN but most pages referencing credits are just telling you what you can spend credits on.

I've started browsing:

https://github.com/Azure

Hoping to find something there but so far have turned up little in terms of just grabbing credits remaining.

I hope I'm making sense. I hope I'm not overthinking this and someone can point me in the right direction.

Dijkgraaf
  • 11,049
  • 17
  • 42
  • 54
Zehnpai
  • 51
  • 1
  • 3
  • `To be able to log into the account but from there I'm stuck really. The code provided just returns an empty "value[]" as a result.` - Please make sure you are providing correct parameters especially start/end dates. I saw similar thing on another question here just a few days ago. – Gaurav Mantri Feb 26 '16 at 07:06

3 Answers3

3

You can visit https://www.microsoftazuresponsorships.com/Balance to check balance for azure for students subscription

Nishan
  • 3,644
  • 1
  • 32
  • 41
0

You can find some samples of the Billing Rest API here:

Get consumption data for an Azure subscription

Peter
  • 27,590
  • 8
  • 64
  • 84
0

To see the balance and bills of Azure 1) Go to the Right top corner where your profile/icon/email is displayed. 2) Click on the icon and select "View My Bill"

From here you can get more information and Subscription wise details.