Home > database >  How can I create an alert on the subscription level for every new resource created?
How can I create an alert on the subscription level for every new resource created?

Time:03-01

I want to get alerts whenever a new resource is created, I tried to do it through the monitor using the activity log but could not find any default configuration which can provide the needful. Any help will be appreciated.

CodePudding user response:

You can try setting up an activity log alert on a subscription level for the operation 'Create Deployment (deployments)'. This event is generated whenever a resource is created, however, there may be exceptions such as resource group for which you will need to create a separate alert.

Below is documentation on how you can create an activity log alert. You can set the subscription as target and select 'Create Deployment (deployments)' s criteria. enter image description here

  • Related