简体   繁体   English

代码中的Windows Azure服务状态

[英]Windows Azure Services status from code

I'm working on a application which will need to know the status of Window Azure services, not my applications (ie: SQL Databases, Storage, Access Control 2.0, etc). 我正在开发一个需要了解Window Azure服务状态的应用程序而不是我的应用程序 (例如:SQL数据库,存储,访问控制2.0等)。

I'm aware that Windows azure has a REST API, but I didn't found anything about services health or status. 我知道Windows azure具有REST API,但没有发现有关服务运行状况或状态的任何信息。

I have found out with fiddler, that this site: https://www.windowsazurestatus.com/ is using these two api functions: 我发现小提琴手这个网站: https : //www.windowsazurestatus.com/正在使用这两个api函数:

/odata/ServiceCurrentIncidents?api-version=1.0 (for current status) /odata/ServiceCurrentIncidents?api-version=1.0(用于当前状态)

/odata/ServiceHistoricalIncidents?endDate=&api-version=1.0 (historical data) /odata/ServiceHistoricalIncidents?endDate=&api-version=1.0(历史数据)

I've also learned that the calls to these functions are made from javascript. 我还了解到,对这些函数的调用是使用javascript进行的。 In this case, I assume that these are publicly available APIs without documentation. 在这种情况下,我假定这些是没有文档的公开可用的API。

Following document might help you. 以下文档可能会为您提供帮助。 It gives status of service on https://management.core.windows.net/ /services/hostedservices/ 它在https://management.core.windows.net/ / services / hostedservices /上提供服务状态

msdn document link : http://msdn.microsoft.com/en-us/library/azure/ee460806.aspx msdn文档链接: http : //msdn.microsoft.com/en-us/library/azure/ee460806.aspx

Thanks, 谢谢,
Gaurav 高拉夫

As of now there are no public APIs available which will give you the status of Azure services like what you see on windowsazurestatus.com. 到目前为止,尚无可用的公共API,这些公共API可以使您获得Azure服务的状态,例如在Windowsazurestatus.com上看到的状态。 One thing I noticed on that site is that it provides RSS feeds for service status. 我在该站点上注意到的一件事是,它提供了用于服务状态的RSS提要。 One possibility for you would be to build an application which consumes these RSS feeds. 对您来说,一种可能性是构建一个使用这些RSS feed的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM