Azure,如果 Web 应用程序停止或关闭则接收通知

Azure, receive notification if web app is stopped or down

如何配置 Azure 在 WebApp 停止或启动失败时向我发送通知?一封电子邮件就足够了。谢谢。

如果需要更多配置选项,您可以 Alerts on the Azure Portal/WebApp blade, but I'd recommend you to use Azure Monitor to configure alerts 使用 Application Insights。

您需要使用如下所述的条件和操作组创建一个 Alert

我知道马丁的回答是正确的,但我只是想提一下警报的确切条件。