繁体   English   中英

使用 ci cd 的 Azure Devops 部署

[英]Azure Devops Deployment using ci cd

如果 arm 模板参数超过 256,知道如何使用 devops ci cd 部署 adf 管道

在模板的参数部分,您可以指定在部署资源时可以输入哪些值。 模板中的参数限制为 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

暂无
暂无

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

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