Using Console
Using CLI
<Alert_Name>
with the name of the alert you want to create, <Alert_Description>
with a brief description of the alert, and <Email_Address>
with the email address to which the alert should be sent.Using Python
<your_tenant_id>
, <your_client_id>
, <your_client_secret>
, <your_subscription_id>
, <your_resource_group_name>
, <your_activity_log_alert_name>
, <your_activity_log_alert_description>
, <your_network_security_group_resource_id>
and <your_action_group_id>
with the actual values for your Azure environment.