@@ -154,25 +154,39 @@ await TemplateOperationAsync(
154154
155155 internal static string GetTemplateShortName ( string templateName ) => templateName . ToLowerInvariant ( ) switch
156156 {
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+ "QueueTrigger" => "queue" ,
158+ "HttpTrigger" => "http" ,
159+ "BlobTrigger" => "blob" ,
160+ "TimerTrigger" => "timer" ,
161+ "KafkaTrigger" => "kafka" ,
162+ "KafkaOutput" => "kafkao" ,
163+ "DurableFunctionsOrchestration" => "durable" ,
164+ "SendGrid" => "sendgrid" ,
165+ "EventHubTrigger" => "eventhub" ,
166+ "ServiceBusQueueTrigger" => "squeue" ,
167+ "ServiceBusTopicTrigger" => "stopic" ,
168+ "EventGridTrigger" => "eventgrid" ,
169+ "EventGridCloudEventTrigger" => "eventgridcloudevent" ,
170+ "CosmosDBTrigger" => "cosmos" ,
171+ "IotHubTrigger" => "iothub" ,
172+ "DaprPublishOutputBinding" => "daprPublishOutputBinding" ,
173+ "DaprServiceInvocationTrigger" => "daprServiceInvocationTrigger" ,
174+ "DaprTopicTrigger" => "daprTopicTrigger" ,
175+ "DurableFunctionsEntityOrchestration" => "durableentity" ,
176+ "EventGridBlobTrigger" => "eventgridblob" ,
177+ "HttpTriggerWithOpenAPI" => "httpOpenAPI" ,
178+ "KustoInputBinding" => "kustoinput" ,
179+ "KustoOutputBinding" => "kustooutput" ,
180+ "MySqlInputBinding" => "mysqlinput" ,
181+ "MySqlOutputBinding" => "mysqloutput" ,
182+ "MySqlTriggerBinding" => "mysqltrigger" ,
183+ "RabbitMQTrigger" => "rqueue" ,
184+ "SignalRTrigger" => "signalr" ,
185+ "SqlInputBinding" => "sqlinput" ,
186+ "SqlOutputBinding" => "sqloutput" ,
187+ "SqlTriggerBinding" => "sqltrigger" ,
188+ "DurableFunctionsEntityClass" => "durableentityclass" ,
189+ "DurableFunctionsEntityFunction" => "durableentityfunction" ,
176190 _ => throw new ArgumentException ( $ "Unknown template '{ templateName } '", nameof ( templateName ) )
177191 } ;
178192
@@ -195,6 +209,19 @@ internal static IEnumerable<string> GetTemplates(WorkerRuntime workerRuntime)
195209 "DaprPublishOutputBinding" ,
196210 "DaprServiceInvocationTrigger" ,
197211 "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"
198225 } ;
199226 }
200227
@@ -218,6 +245,19 @@ internal static IEnumerable<string> GetTemplates(WorkerRuntime workerRuntime)
218245 "DaprPublishOutputBinding" ,
219246 "DaprServiceInvocationTrigger" ,
220247 "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"
221261 } ;
222262 }
223263
0 commit comments