简体   繁体   English

一个 azure function 应用程序会触发所有部署槽吗?

[英]An azure function app will trigger all the deployment slots?

I have a function app with 2 slots (staging and prod), both of them will trigger the upload of a file in the same blob storage.我有一个带有 2 个插槽(staging 和 prod)的 function 应用程序,它们都会触发在同一个 blob 存储中上传文件。 My question is: if both of them will trigger the same blob storage (but act differently), the time I upload a file to that blob storage will trigger both of them or just the one that's set as primary?我的问题是:如果它们都将触发相同的 blob 存储(但行为不同),那么我将文件上传到该 blob 存储的时间将同时触发它们还是仅触发设置为主要的那个? Thanks in advance!提前致谢!

Actually, it depends on your configuration and settings when creating your slot.实际上,这取决于您在创建插槽时的配置和设置。 For instance: If you clone the settings both will trigger else the prod will only trigger click to see screenshot例如:如果您克隆设置两者都会触发,否则产品只会触发点击查看屏幕截图

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM