如何使用输入参数 运行 天蓝色数据工厂中的 exe 文件?
how to run exe file in azure data factroy with input parameters?
我有一个控制台应用程序。我构建了这个应用程序并将其上传到 Azure blob 存储。然后我 运行 这个应用程序 Azure 数据工厂管道。一切都很好,但问题是如果我想向控制台应用程序添加新参数(获取输入)我该怎么做?有什么具体的方法吗?
{
"name": "samplebatch",
"type": "Custom",
"policy": {
"timeout": "7.00:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false
},
"typeProperties": {
"command": "SampleApp.exe",
"folderPath": "customactv2/SampleApp",
"resourceLinkedService": {
"referenceName": "StorageLinkedService",
"type": "LinkedServiceReference"
}
"linkedServiceName": {
"referenceName": "dataloadbatchservice",
"type": "LinkedServiceReference"
}
}
这是我到目前为止在数据工厂管道代码中所做的。
请参考typeProperties
中的extendedProperties
属性,您可以使用它。
User-defined properties that can be passed to the custom application
in JSON format so your custom code can reference additional properties
我有一个控制台应用程序。我构建了这个应用程序并将其上传到 Azure blob 存储。然后我 运行 这个应用程序 Azure 数据工厂管道。一切都很好,但问题是如果我想向控制台应用程序添加新参数(获取输入)我该怎么做?有什么具体的方法吗?
{
"name": "samplebatch",
"type": "Custom",
"policy": {
"timeout": "7.00:00:00",
"retry": 0,
"retryIntervalInSeconds": 30,
"secureOutput": false
},
"typeProperties": {
"command": "SampleApp.exe",
"folderPath": "customactv2/SampleApp",
"resourceLinkedService": {
"referenceName": "StorageLinkedService",
"type": "LinkedServiceReference"
}
"linkedServiceName": {
"referenceName": "dataloadbatchservice",
"type": "LinkedServiceReference"
}
}
这是我到目前为止在数据工厂管道代码中所做的。
请参考typeProperties
中的extendedProperties
属性,您可以使用它。
User-defined properties that can be passed to the custom application in JSON format so your custom code can reference additional properties