@@ -154,25 +154,39 @@ await TemplateOperationAsync(
154
154
155
155
internal static string GetTemplateShortName ( string templateName ) => templateName . ToLowerInvariant ( ) switch
156
156
{
157
- "blobtrigger" => "blob" ,
158
- "eventgridblobtrigger" => "eventgridblob" ,
159
- "cosmosdbtrigger" => "cosmos" ,
160
- "durablefunctionsorchestration" => "durable" ,
161
- "eventgridtrigger" => "eventgrid" ,
162
- "eventgridcloudeventtrigger" => "eventgridcloudevent" ,
163
- "eventhubtrigger" => "eventhub" ,
164
- "httptrigger" => "http" ,
165
- "iothubtrigger" => "iothub" ,
166
- "kafkatrigger" => "kafka" ,
167
- "kafkaoutput" => "kafkao" ,
168
- "queuetrigger" => "queue" ,
169
- "sendgrid" => "sendgrid" ,
170
- "servicebusqueuetrigger" => "squeue" ,
171
- "servicebustopictrigger" => "stopic" ,
172
- "timertrigger" => "timer" ,
173
- "daprpublishoutputbinding" => "daprPublishOutputBinding" ,
174
- "daprserviceinvocationtrigger" => "daprServiceInvocationTrigger" ,
175
- "daprtopictrigger" => "daprTopicTrigger" ,
157
+ "Http Trigger" => "http" ,
158
+ "Blob Trigger" => "blob" ,
159
+ "Timer Trigger" => "timer" ,
160
+ "Queue Trigger" => "queue" ,
161
+ "Cosmos DB Trigger" => "cosmos" ,
162
+ "Dapr Publish Output Binding" => "daprPublishOutputBinding" ,
163
+ "Dapr Service Invocation Trigger" => "daprServiceInvocationTrigger" ,
164
+ "Dapr Topic Trigger" => "daprTopicTrigger" ,
165
+ "Durable Functions Entity Class" => "durableentityclass" ,
166
+ "Durable Functions Entity Function" => "durableentityfunction" ,
167
+ "Durable Functions Orchestration" => "durable" ,
168
+ "Event Grid Blob Trigger" => "eventgridblob" ,
169
+ "Event Grid Trigger" => "eventgrid" ,
170
+ "Event Hub Trigger" => "eventhub" ,
171
+ "Kusto Input Binding" => "kustoinput" ,
172
+ "Kusto Output Binding" => "kustooutput" ,
173
+ "MySql Input Binding" => "mysqlinput" ,
174
+ "MySql Output Binding" => "mysqloutput" ,
175
+ "MySql Trigger Binding" => "mysqltrigger" ,
176
+ "Rabbit MQ Trigger" => "rqueue" ,
177
+ "Service Bus Queue Trigger" => "squeue" ,
178
+ "Service Bus Topic Trigger" => "stopic" ,
179
+ "SignalR Trigger" => "signalr" ,
180
+ "Sql Input Binding" => "sqlinput" ,
181
+ "Sql Output Binding" => "sqloutput" ,
182
+ "Sql Trigger Binding" => "sqltrigger" ,
183
+ "Durable Functions Entity Orchestration" => "durableentity" ,
184
+ "Event Grid Cloud Event Trigger" => "eventgridcloudevent" ,
185
+ "Http Trigger With Open API" => "httpOpenAPI" ,
186
+ "Iot Hub Trigger" => "iothub" ,
187
+ "Kafka Output" => "kafkao" ,
188
+ "Kafka Trigger" => "kafka" ,
189
+ "Send Grid" => "sendgrid" ,
176
190
_ => throw new ArgumentException ( $ "Unknown template '{ templateName } '", nameof ( templateName ) )
177
191
} ;
178
192
@@ -195,6 +209,19 @@ internal static IEnumerable<string> GetTemplates(WorkerRuntime workerRuntime)
195
209
"DaprPublishOutputBinding" ,
196
210
"DaprServiceInvocationTrigger" ,
197
211
"DaprTopicTrigger" ,
212
+ "DurableFunctionsEntityClass" ,
213
+ "DurableFunctionsEntityFunction" ,
214
+ "DurableFunctionsOrchestration" ,
215
+ "KustoInputBinding" ,
216
+ "KustoOutputBinding" ,
217
+ "MySqlInputBinding" ,
218
+ "MySqlOutputBinding" ,
219
+ "MySqlTriggerBinding" ,
220
+ "RabbitMQTrigger" ,
221
+ "SignalRTrigger" ,
222
+ "SqlInputBinding" ,
223
+ "SqlOutputBinding" ,
224
+ "SqlTriggerBinding"
198
225
} ;
199
226
}
200
227
@@ -218,6 +245,19 @@ internal static IEnumerable<string> GetTemplates(WorkerRuntime workerRuntime)
218
245
"DaprPublishOutputBinding" ,
219
246
"DaprServiceInvocationTrigger" ,
220
247
"DaprTopicTrigger" ,
248
+ "DurableFunctionsEntityOrchestration" ,
249
+ "EventGridBlobTrigger" ,
250
+ "HttpTriggerWithOpenAPI" ,
251
+ "KustoInputBinding" ,
252
+ "KustoOutputBinding" ,
253
+ "MySqlInputBinding" ,
254
+ "MySqlOutputBinding" ,
255
+ "MySqlTriggerBinding" ,
256
+ "RabbitMQTrigger" ,
257
+ "SignalRTrigger" ,
258
+ "SqlInputBinding" ,
259
+ "SqlOutputBinding" ,
260
+ "SqlTriggerBinding"
221
261
} ;
222
262
}
223
263
0 commit comments