11@ {
2- TimerTrigger = @ {
3- # Default Schedule for timed executions
4- Schedule = ' 0 5 * * * *'
2+ TimerTrigger = @ {
3+ # Default Schedule for timed executions
4+ Schedule = ' 0 5 * * * *'
55
6- # Different Schedules for specific timed endpoints
7- ScheduleOverrides = @ {
8- # 'Update-Whatever' = '0 5 12 * * *'
9- }
10- }
6+ # Different Schedules for specific timed endpoints
7+ ScheduleOverrides = @ {
8+ # 'Update-Whatever' = '0 5 12 * * *'
9+ }
10+ }
1111
12- HttpTrigger = @ {
13- <#
12+ HttpTrigger = @ {
13+ <#
1414 AuthLevels:
1515 https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook-trigger?tabs=python-v2%2Cisolated-process%2Cnodejs-v4%2Cfunctionsv2&pivots=programming-language-csharp#http-auth
1616
1717 anonymous: No Token needed (combine with Identity Provider for Entra ID auth without also needing a token)
1818 function: (default) Require a function-endpoint-specific token with the request
1919 admin: Require a Function-App-global admin token (master key) for the request
2020 #>
21- AuthLevel = ' function'
22- AuthLevelOverrides = @ {
23- # 'Set-Foo' = 'anonymous'
24- }
25- Methods = @ (' get' , ' post' )
26- MethodOverrides = @ {
27- # 'Set-Foo' = 'delete'
28- }
29- }
21+ AuthLevel = ' function'
22+ AuthLevelOverrides = @ {
23+ # 'Set-Foo' = 'anonymous'
24+ }
25+ Methods = @ (' get' , ' post' )
26+ MethodOverrides = @ {
27+ # 'Set-Foo' = 'delete'
28+ }
29+ }
30+
31+ EventGridTrigger = @ {
32+ <#
33+ AuthLevels:
34+ https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-http-webhook-trigger?tabs=python-v2%2Cisolated-process%2Cnodejs-v4%2Cfunctionsv2&pivots=programming-language-csharp#http-auth
35+
36+ anonymous: No Token needed (combine with Identity Provider for Entra ID auth without also needing a token)
37+ function: (default) Require a function-endpoint-specific token with the request
38+ admin: Require a Function-App-global admin token (master key) for the request
39+ #>
40+ AuthLevel = ' function'
41+ AuthLevelOverrides = @ {
42+ # 'Set-Foo' = 'anonymous'
43+ }
44+ Methods = @ (' get' , ' post' )
45+ MethodOverrides = @ {
46+ # 'Set-Foo' = 'delete'
47+ }
48+ }
3049}
0 commit comments