Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated.
bool
scopes
A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item.
string[] (required)
ActivityLogAlertActionGroup
Name
Description
Value
actionGroupId
The resourceId of the action group. This cannot be null or empty.
string (required)
webhookProperties
The dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
The field value will be compared to this value (case-insensitive) to determine if the condition is met.
string (required)
field
The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'.
This sample shows how to deploy an AKS cluster with Application Gateway, Application Gateway Ingress Controller, Azure Container Registry, Log Analytics and Key Vault
This template creates an Azure service health alert that optionally sends emails to service administrators and specified email addresses in the event of cerain Azure service outages.
ARM template resource definition
The activityLogAlerts resource type can be deployed with operations that target:
Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated.
bool
scopes
A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item.
string[] (required)
ActivityLogAlertActionGroup
Name
Description
Value
actionGroupId
The resourceId of the action group. This cannot be null or empty.
string (required)
webhookProperties
The dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
The field value will be compared to this value (case-insensitive) to determine if the condition is met.
string (required)
field
The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'.
This sample shows how to deploy an AKS cluster with Application Gateway, Application Gateway Ingress Controller, Azure Container Registry, Log Analytics and Key Vault
This template creates an Azure service health alert that optionally sends emails to service administrators and specified email addresses in the event of cerain Azure service outages.
This template allows you to deploy a simple alert which uses an action group to send email notifications for any Service Health records in the Azure Activity Log
This template allows you to deploy a simple alert which uses an action group to send email notifications for any Autoscale records in the Azure Activity Log
This template allows you to deploy a simple alert which uses an action group to send email notifications for any failed Autoscale records in the Azure Activity Log
Terraform (AzAPI provider) resource definition
The activityLogAlerts resource type can be deployed with operations that target:
Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a microsoft.insights/activityLogAlerts resource, add the following Terraform to your template.
Indicates whether this activity log alert is enabled. If an activity log alert is not enabled, then none of its actions will be activated.
bool
scopes
A list of resourceIds that will be used as prefixes. The alert will only apply to activityLogs with resourceIds that fall under one of these prefixes. This list must include at least one item.
string[] (required)
ActivityLogAlertActionGroup
Name
Description
Value
actionGroupId
The resourceId of the action group. This cannot be null or empty.
string (required)
webhookProperties
The dictionary of custom properties to include with the post operation. These data are appended to the webhook payload.
The field value will be compared to this value (case-insensitive) to determine if the condition is met.
string (required)
field
The name of the field that this condition will examine. The possible values for this field are (case-insensitive): 'resourceId', 'category', 'caller', 'level', 'operationName', 'resourceGroup', 'resourceProvider', 'status', 'subStatus', 'resourceType', or anything beginning with 'properties.'.