It's different teams that are creating these resources frequently and using templates is not an option at the moment...
Possible to create alert for a whole subscription app services?
Hi all, Is it possible to have an altert on CPU % usage of an App Service be "attached" to a subscription? We create and delete regularly app services and its respective Resource Group (also regularly created and deleted) and would like to monitor the CPU usage of the web app without having to recreate the alert every time we create a new one. Is there any way to have something like this implemented? Thanks all
2 answers
Sort by: Newest
-
-
BTardif-[MSFT] 351 Reputation points
2020-03-02T17:57:49.29+00:00 If you are deleting and re-creating resources frequently, you should be using ARM templates --> https://learn.microsoft.com/azure/templates/
You can include alerts as part of your template definition.
This way when the app is being created by executing the corresponding template, you would also be creating all the necessary alerts.