-
Notifications
You must be signed in to change notification settings - Fork 5k
/
TenantActivityLogAlertRule_ListByManagementGroup.json
48 lines (48 loc) · 1.69 KB
/
TenantActivityLogAlertRule_ListByManagementGroup.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"parameters": {
"managementGroupName": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"api-version": "2023-04-01-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/providers/Microsoft.Management/ManagementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47/providers/Microsoft.AlertsManagement/TenantActivityLogAlerts/SampleActivityLogAlertSHRuleOnTenantLevel",
"type": "Microsoft.AlertsManagement/TenantActivityLogAlerts",
"name": "SampleActivityLogAlertSHRuleOnTenantLevel",
"location": "Global",
"tags": {},
"properties": {
"tenantScope": "72f988bf-86f1-41af-91ab-2d7cd011db47",
"condition": {
"allOf": [
{
"field": "category",
"equals": "ServiceHealth"
}
]
},
"actions": {
"actionGroups": [
{
"actionGroupId": "/providers/Microsoft.Management/ManagementGroups/72f988bf-86f1-41af-91ab-2d7cd011db47/providers/Microsoft.Insights/actionGroups/SampleActionGroup",
"webhookProperties": {
"sampleWebhookProperty": "SamplePropertyValue"
},
"actionProperties": {
"Email.Title": "my email title"
}
}
]
},
"enabled": true,
"description": "Description of sample Activity Log Alert service health rule on tenant level events."
}
}
]
}
}
}
}