I need to integrate Azure billing with Grafana
Is this possible?
How can I do it? I have searched but i dont find any solution
Yes, it's possible.
Use the Azure Billing REST API to get data, then SimpleJson in your grafana:
https://learn.microsoft.com/en-us/rest/api/billing/
https://grafana.com/grafana/plugins/grafana-simple-json-datasource
Related
I can get available regions for any Azure service using this page
https://azure.microsoft.com/en-us/global-infrastructure/services/?products=storage
Is any API (REST for example or c#) to get this information programmatically?
Thanks.
NO, There is no API option currently available to get those services. You can provide your own feedback or requirement to get the support from the Azure Team.
Looking in the Azure portal, I can see monitoring charts for API apps and Web apps that return information on metrics such as number of requests, cpu time, data i/o, etc.
Is there an API that I can query that will return information on Azure app services?
If you just want to see the list of web apps within a resource group, this can simply be achieved using the Azure Resource Manager API, which is the default API used by the new portal.
We now even have a cool tool to explore these APIs, check https://azure.microsoft.com/en-in/blog/azure-resource-explorer-a-new-tool-to-discover-the-azure-api/
The API Reference itself is at https://msdn.microsoft.com/en-in/library/azure/dn790568.aspx
I think what you search is named : "Azure Monitoring Services API".
You can get/set metrics.
You can access to the API by a Nuget package :
PM> Install-Package Microsoft.WindowsAzure.Management.Monitoring
Yes, you can.
Please refer to Azure Insights REST API Reference.
I am trying to find a sample on how to create an Azure Website (web app) deployment slot via the REST API. Any pointers would be appreciated.
Thanks!
You can use the Azure Management libraries to do this directly to the API. You can find the Libraries here and a sample of how to use them here. An extra way to do it is use the Azure Resource Manager REST API directly.
Is there any Azure REST API or powershell cmdlets available for linking the resources(SQL DB,Storage)/listing the linked resources to azure cloud services?
No!
And currently (as of 2013-09-17) the feature linked resource is just a visual enhancement in the portal. To help you easily get an idea of what components does a cloud service have. Nothing more than that.
Is there an API or any other way to get the subscription properties (such as name, status etc...). I've found management APIs for hosted services and deployments, but failed to find any for subscriptions.
thanks,
Nava
There is currently no such API.
I had the same question, and looks like now there is an API for that:
http://msdn.microsoft.com/en-us/library/azure/gg715315.aspx