簡體   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