当我的 Web 应用程序停止时,Azure 健康服务始终 return 可用

Azure health service always return available when my web app is stopped

我正在开发一个检查服务健康状况的仪表板,在我的例子中,我有一个示例 Web 应用程序,它在 30 分钟后停止,Azure 健康服务 API 显示它可用是否有任何其他了解状态或我做错任何 helo 的方法将不胜感激

Microsoft Azure Service Health is your personalized dashboard in the Azure portal for receiving notifications, guidance, and technical support when Azure service issues, updates, or planned maintenance affect your Azure resources.

来源:https://azure.microsoft.com/pt-br/resources/videos/azure-service-health-overview/

换句话说,Azure Health Service 与 Azure 基础设施上的监控 downtime/scheduled 维护有关。监控 API 时,您需要编写自己的健康检查机制。这是 Azure Functions 的示例:

https://medium.com/microsoftazure/azure-health-checks-via-csharp-35ce1d5b7c6f