-
Notifications
You must be signed in to change notification settings - Fork 197
/
template.json
105 lines (105 loc) · 3.67 KB
/
template.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"author": "Microsoft",
"classifications": [
"Azure Function",
"Trigger",
"Http"
],
"name": "HttpTrigger",
"identity": "Azure.Function.CSharp.Isolated.HttpTrigger.3.x",
"groupIdentity": "Azure.Function.HttpTrigger",
"shortName": "http",
"tags": {
"language": "C#",
"type": "item"
},
"sourceName": "HttpTriggerCSharp",
"symbols": {
"Framework": {
"type": "bind",
"binding": "msbuild:TargetFramework",
"defaultValue": "net6.0"
},
"NetFramework": {
"type": "computed",
"datatype": "bool",
"value": "(Framework == \"net48\")"
},
"NetCore": {
"type": "computed",
"datatype": "bool",
"value": "(Framework == \"net6.0\" || Framework == \"net7.0\" || Framework == \"net8.0\" || Framework == \"net9.0\")"
},
"namespace": {
"description": "namespace for the generated code",
"replaces": "Company.Function",
"type": "parameter"
},
"AccessRights": {
"type": "parameter",
"description": "Authorization level controls whether the function requires an API key and which key to use; Function uses a function key; Admin uses your master key. The function and master keys are found in the 'keys' management panel on the portal, when your function is selected.",
"datatype": "choice",
"choices": [
{
"choice": "Function",
"description": "Function"
},
{
"choice": "Anonymous",
"description": "Anonymous"
},
{
"choice": "Admin",
"description": "Admin"
}
],
"replaces": "AuthLevelValue",
"defaultValue": "Function"
},
"HostIdentifier": {
"type": "bind",
"binding": "HostIdentifier"
}
},
"primaryOutputs": [
{
"path": "HttpTriggerCSharp.cs"
}
],
"defaultName": "HttpTriggerCSharp",
"postActions": [
{
"condition": "(NetCore)",
"Description": "Adding Reference to Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore Nuget package",
"ActionId": "B17581D1-C5C9-4489-8F0A-004BE667B814",
"ContinueOnError": "true",
"ManualInstructions": [],
"args": {
"referenceType": "package",
"reference": "Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore", "version": "1.2.1",
"projectFileExtensions": ".csproj"
}
},
{
"Description": "Adding Reference to Microsoft.Azure.Functions.Worker.Extensions.Http Nuget package",
"ActionId": "B17581D1-C5C9-4489-8F0A-004BE667B814",
"ContinueOnError": "true",
"ManualInstructions": [],
"args": {
"referenceType": "package",
"reference": "Microsoft.Azure.Functions.Worker.Extensions.Http", "version": "3.1.0",
"projectFileExtensions": ".csproj"
}
},
{
"condition": "(HostIdentifier != \"dotnetcli\" && HostIdentifier != \"dotnetcli-preview\")",
"description": "Opens the function class file in the editor",
"manualInstructions": [],
"actionId": "84C0DA21-51C8-4541-9940-6CA19AF04EE6",
"args": {
"files": "0"
},
"continueOnError": true
}
]
}