我已经在ADF示例的开发环境中创建了一个对象参数,如{“SuperSet”:“SuperSet/SuperSet.csv”},并调用pipeline().parameters.DWH.SuperSet
等对象,它工作正常,但当使用Azure CI/CD部署在生产示例上时,在设置时间触发时会出现下面提到的错误。Operation on target SuperSet failed: The expression 'pipeline().parameters.DWH.SuperSet' cannot be evaluated because property 'SuperSet' cannot be selected. Property selection is not supported on values of type 'String'.
我的arm-templete-parameters-definition.json文件具有:
"Microsoft.DataFactory/factories/pipelines": {
"properties": {
"activities": [
{
"policy": {
"retry": "-",
"retryIntervalInSeconds": "-"
}
}
],
"parameters": {
"*": {
"defaultValue": "-::string"
}
}
}
}
1条答案
按热度按时间ymzxtsji1#
必须更新arm-templete-parameters-definition.json,并且它工作了。
adf_publish分支更新后你会发现前面和后面提到的。
之前:
之后:
**“文件名”:“techbit.csv”**是我在pipeline的参数中声明的对象。