设置预编译的c#Azure函数的基数 [英] Set cardinality for a pre-compiled c# Azure Function

查看:79
本文介绍了设置预编译的c#Azure函数的基数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我目前遇到了一些问题,在过去的几个小时中谷歌搜索并尝试尝试之后,我意识到我需要在这里寻求帮助.

我目前正在开发使用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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆