设置预编译的c#Azure函数的基数 [英] Set cardinality for a pre-compiled c# Azure Function
问题描述
大家好,
我目前遇到了一些问题,在过去的几个小时中谷歌搜索并尝试尝试之后,我意识到我需要在这里寻求帮助.
我目前正在开发使用EventHubTrigger的Azure函数.在门户中开发功能时,或者作为csx文件,您可以在function.json文件(标准)中指定设置基数",但是此文件使用许多"设置,而不是 '一个'.
但是,我工作的公司希望将函数制作为预编译的函数,而这些函数直到编译后才具有function.json文件.由于不建议在编译后更改function.json,所以我不确定该如何更改 基数设置.
在这个问题上,我将非常感谢您的帮助.
亲切的问候
Simon
您能否分享一些示例代码来帮助我们更好地理解问题?
还是您在研究时发现的某些链接?
Good day everyone,
I'm currently in a bit a problem and after googling and trying out thing for the past few hours I realised I need to ask here for help.
I'm currently developing an Azure Function that uses an EventHubTrigger. When developing a function in the portal, or as a csx-file you can specify the setting 'cardinality' in the function.json file, standard however this file uses the 'many' setting, instead of 'one'.
However the company I work for wants the function made as a pre-compiled function and those don't have the function.json file, until after compilation. Since it's not advised to change the function.json after compilation I'm not sure how else I can change the cardinality setting.
I would really appreciate a bit of help on this subject.
kind regards,
Simon
Could you share some example code to help us better understand the problem?
Or some of the links you found while researching as well?
这篇关于设置预编译的c#Azure函数的基数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!