-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.bicep
33 lines (31 loc) · 1.04 KB
/
main.bicep
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
param actionGroupName string
param actionGroupShortName string
param emailReceivers array = []
param smsReceivers array = []
param webhookReceivers array = []
param itsmReceivers array = []
param azureAppPushReceivers array = []
param automationRunbookReceivers array = []
param voiceReceivers array = []
param logicAppReceivers array = []
param azureFunctionReceivers array = []
param armRoleReceivers array = []
resource actionGroup 'Microsoft.Insights/actionGroups@2019-06-01' = {
name: actionGroupName
location: 'Global'
properties: {
groupShortName: actionGroupShortName
enabled: true
emailReceivers: emailReceivers
smsReceivers: smsReceivers
webhookReceivers: webhookReceivers
itsmReceivers: itsmReceivers
azureAppPushReceivers: azureAppPushReceivers
automationRunbookReceivers: automationRunbookReceivers
voiceReceivers: voiceReceivers
logicAppReceivers: logicAppReceivers
azureFunctionReceivers: azureFunctionReceivers
armRoleReceivers: armRoleReceivers
}
}
output actionGroupId string = actionGroup.id