问题描述
Hey Folks,
Hey Folks,
我正在尝试创建一个ARM模板,用于创建一个订阅现有自定义事件网格主题的逻辑应用程序。
I'm trying to create an ARM template that creates a logic app with a subscription to an existing custom event grid topic.
我想我需要添加类型为"Microsoft.EventGrid / topics / providers / eventSubscriptions"的资源。在模板中 WebHook目标和新创建的逻辑应用的Url。
我的问题是在哪里找到该Url。我确实看到逻辑应用程序资源中有一个listCallbackURL输出参数...但是当你使用事件网格触发器部署一个新的逻辑应用程序
时,它的格式似乎与自动生成的订阅包含的格式不同例如,Visual Studio?
I figured I need to add a resource of type "Microsoft.EventGrid/topics/providers/eventSubscriptions" in the template with WebHook destination and the Url of the newly created logic app.
My problem is where to find that Url. I do see there is an listCallbackURL output parameter from the logic app resource ... but the format of that seems different to the one contained by the automatically generated subscription when you deploy a new logic app with in event grid trigger from visual studio for example?
从Visual Studio看起来像是: https://prod-121.westeurope.logic.azure.com/workflows/13f301886f05468a89fe4b16d7558e31/triggers / When_a_resource_event_occurs / versions / 08586435285609620208 / run
From Visual Studio is looks something like: https://prod-121.westeurope.logic.azure.com/workflows/13f301886f05468a89fe4b16d7558e31/triggers/When_a_resource_event_occurs/versions/08586435285609620208/run
但listCallbackUrl给你的东西是: https://prod-121.westeurope.logic.azure.com /workflows/13f301886f05468a89fe4b16d7558e31/triggers/When_a_resource_event_occurs/curs%2Frun&sv=1.0&sig=XXXXX
But listCallbackUrl give you something like: https://prod-121.westeurope.logic.azure.com/workflows/13f301886f05468a89fe4b16d7558e31/triggers/When_a_resource_event_occurs/curs%2Frun&sv=1.0&sig=XXXXX
这篇关于带有事件网格触发器的Logic App - ARM模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!