-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.bicep
53 lines (49 loc) · 1.19 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
@description('The name of the logic app to create.')
param logicAppName string
@description('A test URI')
param testUri string = 'https://status.azure.com/en-us/status/'
@description('Location for all resources.')
param location string = resourceGroup().location
var frequency = 'Hour'
var interval = '1'
var type = 'recurrence'
var actionType = 'http'
var method = 'GET'
var workflowSchema = 'https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#'
resource stg 'Microsoft.Logic/workflows@2019-05-01' = {
name: logicAppName
location: location
tags: {
displayName: logicAppName
}
properties: {
definition: {
'$schema': workflowSchema
contentVersion: '1.0.0.0'
parameters: {
testUri: {
type: 'string'
defaultValue: testUri
}
}
triggers: {
recurrence: {
type: type
recurrence: {
frequency: frequency
interval: interval
}
}
}
actions: {
actionType: {
type: actionType
inputs: {
method: method
uri: testUri
}
}
}
}
}
}