简体   繁体   English

我可以触发在5分钟内启动的Azure函数吗

[英]Can I trigger a Azure Function that starts in 5 minutes

I must create a functions that runs 5 min after my activation. 我必须创建一个在激活后5分钟运行的函数。 Is there a way to do that? 有没有办法做到这一点? I use a HTTP Trigger 我使用HTTP触发器

You can combine your function with a second function to accomplish that. 您可以将您的功能与第二个功能结合使用以实现此目的。 You http function must write a message to a storage queue with a visibilitytimeout (5 min). 您的http函数必须将消息写入具有可见性超时(5分钟)的存储队列。 Then you make an other function that uses that storage queue as input. 然后,创建另一个使用该存储队列作为输入的函数。 This will be triggered at the time the message pops up on the queue. 这将在消息弹出队列时触发。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我可以在没有存储帐户的情况下使用带有HTTP触发器的Azure功能吗 - Can I have Azure Function with HTTP trigger without Storage Account 当消息无法在ServiceBusTrigger Azure功能中处理时,如何在x分钟内延迟处理相同的消息? - When a message fails to process in a ServiceBusTrigger Azure Function, how can I delay processing the same message for x minutes? 如何从URL或Azure函数触发Azure服务总线订阅 - How can I trigger azure service bus subscription from URL or azure function 如何基于函数触发器中的属性绑定天蓝色函数输入? - How can I bind an azure function input, based on a property in the function trigger? 我如何从HTTP触发Azure函数运行.cmd文件 - How can i run .cmd file from http trigger azure function 对 Azure Function 使用事件网格触发器时,我可以访问绑定表达式中的数据属性吗? - When using Event Grid trigger for Azure Function can I access data properties in binding expressions? 对于 Azure Function HTTP 触发器,我如何设置 CORS 策略“WithExposedHeaders("*")? - For an Azure Function HTTP Trigger how can I set a CORS policy "WithExposedHeaders("*")? 如何根据带有 C# 的 Application Insights 消息触发 Azure Function? - How can I trigger an Azure Function based on Application Insights messages with C#? Azure函数队列触发器 - Azure function Queue Trigger 动态 azure function 触发器 - Dynamic azure function trigger
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM