Create Azure Alert Rules using Signals #20153
-
The article Create a new alert rule in the Azure portal shows how to create a new alert rule using the available signals. For example, by selecting a subscription as the scope, the Azure Portal presents the Signal "Failover Azure SQL Database Failover Group" (last one in the list below), among many others. A rule created using that signal has the following ARM template (obtained from the Azure Portal).
I've been able to reproduce the rule using the code below. However, this is very time consuming as, to find out the conditions that make up the signal, I first need to manually create a rule through the Azure Portal.
Now to my questions. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
@simone-cw , I believe it's not easy to client tool because it seems signal definition and mapping to ARM template are implemented in Portal extension. We will follow up and confirm our thought. If service has API for signal, it will be easy to us. |
Beta Was this translation helpful? Give feedback.
-
We will discuss this feature during planning. Close this discussion now. |
Beta Was this translation helpful? Give feedback.
We will discuss this feature during planning. Close this discussion now.