【发布时间】:2023-03-16 09:28:01
【问题描述】:
如果 arm 模板参数超过 256,知道如何使用 devops ci cd 部署 adf 管道
【问题讨论】:
标签: azure azure-devops continuous-integration continuous-deployment
如果 arm 模板参数超过 256,知道如何使用 devops ci cd 部署 adf 管道
【问题讨论】:
标签: azure azure-devops continuous-integration continuous-deployment
在模板的参数部分,您可以指定部署资源时可以输入的值。模板中的参数限制为 256 个。 您可以通过使用包含多个属性的对象来减少参数数量。
"parameters": {
"<parameter-name>" : {
"type" : "<type-of-parameter-value>",
"defaultValue": "<default-value-of-parameter>",
"allowedValues": [ "<array-of-allowed-values>" ],
"minValue": <minimum-value-for-int>,
"maxValue": <maximum-value-for-int>,
"minLength": <minimum-length-for-string-or-array>,
"maxLength": <maximum-length-for-string-or-array-parameters>,
"metadata": {
"description": "<description-of-the parameter>"
}
}
}
https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-syntax
【讨论】: