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.
Related
I need to add pages (kind of static web pages) in Azure APIM Developer Portal to display documentation. Is there any tutorial to explain how to achieve it?
Is there a way I can read the text content from REST API calls and populate the pages in Dev portal?
I believe the issue is more or less similar to this where you are trying to update documentation properly at Azure Api Managment developer portal.
In that case, as mentioned in the thread, you can try with swagger but in APIM portal it might not work immediately. Microsoft product team has confirmed that they working on improvig support for OpenAPIv3. The ETA is about end of September.
However, you may also check the self-hosted gateway feature
The self-hosted gateway feature expands API Management support for hybrid and multi-cloud environments and enables organizations to efficiently and securely manage APIs hosted on-premises and across clouds from a single API Management service in Azure.
Overview
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
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 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