When is billing API going to be available?
And as a sub-question - when is the ability to cap Azure usage to certain amount per month will be available?
Technology Tips and News
When is billing API going to be available?
And as a sub-question - when is the ability to cap Azure usage to certain amount per month will be available?
There have been no announcements and I don't expect it to be soon. Yeah, I'm disappointed as well. :(
Usage caps are possible as they do it with the 30 day passes. I'm hoping we'll see that functionality available for general usage sometime this year but haven't heard book from MSFT on it. So don't take my opinion as fact. :)
There have been no announcements and I don't expect it to be soon. Yeah, I'm disappointed as well. :(
Usage caps are possible as they do it with the 30 day passes. I'm hoping we'll see that functionality available for general usage sometime this year but haven't heard book from MSFT on it. So don't take my opinion as fact. :)
There have been no announcements and I don't expect it to be soon. Yeah, I'm disappointed as well. :(
Usage caps are possible as they do it with the 30 day passes. I'm hoping we'll see that functionality available for general usage sometime this year but haven't heard book from MSFT on it. So don't take my opinion as fact. :)
Thanks Brent,
is there at least a way to programmatically download the Excel bill files?
Jason,
there are some 3rd party components that can take care of metering, usage and billing. Zuora is one of them and i have good experience with it!
regards,
Two Azure Billing APIs were recently launched that can help you out here- Azure Usage and Azure RateCard APIs:
Azure Cloud Cover Episode on Azure Billing APIs |
|
High-level article describing the IT Financial Management scenario with Azure Billing APIs |
https://azure.microsoft.com/en-us/documentation/articles/billing-usage-rate-card-overview/ |
ScottGu's blog post describing the Azure Billing APIs |
https://weblogs.asp.net/scottgu/new-azure-billing-apis-available |
Partner Solution 1: Cloudyn |
|
Partner Solution 2: Cloud Cruiser |
|
Azure BillingCodeSamples GitHub Repo (C# samples) |
|
Usage REST API Reference on MSDN |
https://msdn.microsoft.com/library/azure/1ea5b323-54bb-423d-916f-190de96c6a3c |
RateCard REST API Reference on MSDN |
https://msdn.microsoft.com/library/azure/1ea5b323-54bb-423d-916f-190de96c6a3c |
Find your OfferDurableID to call the RateCard API |
https://account.windowsazure.com/Subscriptions -> Select subscription -> Bottom right corner |
Find all OfferDurable IDs to get rates from RateCard APi |
http://azure.microsoft.com/en-us/support/legal/offer-details/
MS-AZR- + OfferNumber from the table. |
Powershell Commandlet |
get-UsageAggregates
Switch-AzureMode -Name AzureResourceManager Add-AzureAccount Select-AzureSubscription -SubscriptionId 'YOUR-AZURE-SUB-ID' $aggregate= get-UsageAggregates -ReportedStartTime "6/1/2015" -ReportedEndTime "6/18/2015" $aggregate
|
Nuget package |
https://www.nuget.org/packages/Microsoft.Azure.Commerce.UsageAggregates/ |
CLI |
Once you install CLI, follow these steps:
Azure login 'YOUR-IDENTITY' Azure account set 'YOUR-SUBSCRIPTION-NAME' Azure config mode arm Azure usage list --reportedStartTime 5/1/2015 --reportedEndTime 5/4/2015 (You can configure your own datetime) |