The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met.
string[]
equals
The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met.
string
field
The name of the Activity Log event's 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'.
string
AlertRuleLeafCondition
Name
Description
Value
containsAny
The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met.
string[]
equals
The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met.
string
field
The name of the Activity Log event's 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'.
string
AlertRuleProperties
Name
Description
Value
actions
The actions that will activate when the condition is met.
Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated.
bool
scopes
A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item.
string[]
tenantScope
The tenant GUID. Must be provided for tenant-level and management group events rules.
The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met.
string[]
equals
The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met.
string
field
The name of the Activity Log event's 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'.
string
AlertRuleLeafCondition
Name
Description
Value
containsAny
The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met.
string[]
equals
The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met.
string
field
The name of the Activity Log event's 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'.
string
AlertRuleProperties
Name
Description
Value
actions
The actions that will activate when the condition is met.
Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated.
bool
scopes
A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item.
string[]
tenantScope
The tenant GUID. Must be provided for tenant-level and management group events rules.
The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met.
string[]
equals
The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met.
string
field
The name of the Activity Log event's 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'.
string
AlertRuleLeafCondition
Name
Description
Value
containsAny
The value of the event's field will be compared to the values in this array (case-insensitive) to determine if the condition is met.
string[]
equals
The value of the event's field will be compared to this value (case-insensitive) to determine if the condition is met.
string
field
The name of the Activity Log event's 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'.
string
AlertRuleProperties
Name
Description
Value
actions
The actions that will activate when the condition is met.
Indicates whether this Activity Log Alert rule is enabled. If an Activity Log Alert rule is not enabled, then none of its actions will be activated.
bool
scopes
A list of resource IDs that will be used as prefixes. The alert will only apply to Activity Log events with resource IDs that fall under one of these prefixes. This list must include at least one item.
string[]
tenantScope
The tenant GUID. Must be provided for tenant-level and management group events rules.