[英]How to pass a parameter from Azure Automation Runbook to Azure Datafactory pipeline
I have written below code powershell script to pass the get the value from the logic apps and pass it to Azure data factory.我在下面编写了代码 powershell 脚本来传递从逻辑应用程序获取值并将其传递给 Azure 数据工厂。
#I am sharing a part of the code which is should pass the parameter to the data factory
# get the clientName value from the logic apps.
Param (
Param (
[Parameter (Mandatory = $true)]
[string]
$clientName
)
$parameters = @{
"clientName" = $clientName
}
#
$Pipeline1 = Invoke-AzureRmDataFactoryV2Pipeline -ResourceGroupName $rg1 -DataFactoryName $adf1 -PipelineName $pn1 -Parameter $parameters
But do not know how does my datafactory would get this value.但不知道我的数据工厂如何获得这个值。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.