简体   繁体   English

部署 Azure 逻辑应用和服务总线模板

[英]Deploying Azure Logic App and Service Bus Template

I'm tryinng to deploy a logic app connected to a service bus template, but I want when I deploy it, still have the connection "alive".我正在尝试部署一个连接到服务总线模板的逻辑应用程序,但我希望在部署它时,连接仍然“有效”。 How do I do it?我该怎么做? Because what I've done an error shows up into the portal, with status Error .因为我所做的错误显示在门户中,状态为Error

在此处输入图片说明

This is part of my template code:这是我的模板代码的一部分:

"variables": {
   "defaultSASKeyName": "RootManageSharedAccessKey",
   "authRuleResourceId": "[resourceId('Microsoft.ServiceBus/namespaces/authorizationRules', parameters('namespaces_TestTemplateServiceBus_name'), variables('defaultSASKeyName'))]",
   "sbVersion": "2017-04-01"
 },

"outputs": {
   "NamespaceConnectionString": {
      "type": "string",
      "value": "[listkeys(variables('authRuleResourceId'), variables('sbVersion')).primaryConnectionString]"
   },
   "SharedAccessPolicyPrimaryKey": {
       "type": "string",
       "value": "[listkeys(variables('authRuleResourceId'), variables('sbVersion')).primaryKey]"
   }
}

I don't know what I'm doing wrong.我不知道我做错了什么。 Anyone help?有人帮忙吗?

I think you are missing the Connection String parameter from the API connection (to your Service Bus).我认为您缺少 API 连接(到您的服务总线)中的连接字符串参数。 When you create the Logic App it will also create the API connection.创建逻辑应用程序时,它还会创建 API 连接。 That API connection is shown in the screenshot.该 API 连接显示在屏幕截图中。 You should add the Connection String of the RootManageSharedAccessKey to the Api Connection (click the orange banner "Parameter value missing.")您应该将 RootManageSharedAccessKey 的连接字符串添加到 Api 连接(单击橙色横幅“缺少参数值”。)

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

相关问题 Azure逻辑应用程序服务总线触发可伸缩性 - Azure logic app service bus trigger scalability Azure - 逻辑应用程序到服务总线 - JSON 传输 - Azure - Logic app to Service Bus - JSON transfer 逻辑应用中的 Azure 服务总线队列错误 - Azure service bus queue error in the logic app 我正在尝试使用 Bicep 模板将带有服务总线部署的逻辑应用程序部署到 azure 应用程序 - I am trying to deploy a Logic-App with a Service-Bus Deploy to azure app using Bicep template Azure 逻辑应用程序中服务总线连接器的消息处理策略 - Messages processing policy for Service Bus connector in Azure Logic App Azure 逻辑应用程序 - 服务总线触发器仅在轮询重复时触发 - Azure Logic App - Service Bus Trigger only firing on polling recurrence Azure逻辑应用程序,无法将消息发送到服务总线 - Azure Logic App, can not send message to service Bus Azure 服务总线:更新逻辑应用程序中的消息锁定令牌 - Azure Service Bus: Renew message lock token in Logic App 使用Logic App将服务总线主题转换为ADLS - Service Bus Topic to ADLS using Logic App 如何为 ARM 模板中的服务总线逻辑应用操作设置连接字符串? - How to set the connection string for a Service Bus Logic App action in an ARM template?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM