繁体   English   中英

如何将 azure api 连接链接到 azure 逻辑应用程序使用 Z2F2D399F0EA3844859BFE54734

[英]How to link azure api connections to an azure logic app using powershell

How do I link created azure api connections to an azure logic app using powershell, the logic app requires 2 sql api connections to work.

没有直接的 cmdlet 可以做到这一点。 您需要首先创建需要这些连接的定义(json 格式)。 参考

完成后,您可以使用逻辑应用 PowerShell 模块来创建(New-AzLogicApp)/更新(Set-AzLogicApp)您的逻辑应用。 例如(带有 [] 的参数是可选的):

New-AzLogicApp
   -ResourceGroupName <String>
   -Name <String>
   -Location <String>
   [-State <String>]
   -Definition <Object>
   [-IntegrationAccountId <String>]
   [-Parameters <Object>]
   [-ParameterFilePath <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

or

New-AzLogicApp
   -ResourceGroupName <String>
   -Name <String>
   -Location <String>
   [-State <String>]
   -DefinitionFilePath <String>
   [-IntegrationAccountId <String>]
   [-Parameters <Object>]
   [-ParameterFilePath <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

或者您也可以使用 ARM 模板。 请参阅概述:使用 Azure 资源管理器模板自动部署 Azure 逻辑应用程序

暂无
暂无

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

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