小编D.P*_*.P.的帖子

部署模板验证失败参数文件中的模板参数“scriptUrldsc”无效,它们不存在于原始文件中

我收到了有关该主题的错误,并且正在努力修复它。我使用带有多个嵌套 ARM 模板的 ARM 模板,部署是使用 Azure DevOps 完成的。

在模板下方。

第一个模板是调用嵌套模板的模板:

{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
  "existingDataFactoryName": {
    "type": "string",
    "metadata": {
      "description": "Existing Data Factory name"
    }
  },
  "existingDataFactoryResourceGroup": {
    "type": "string",
    "metadata": {
      "description": "Existing Data Factory resource group"
    }
  },
  "existingDataFactoryVersion": {
    "type": "string",
    "metadata": {
      "description": "Select the existing Data Factory version"
    },
    "allowedValues": [
      "V1",
      "V2"
    ]
  },
  "virtualMachineName": {
    "type": "string",
    "metadata": {
      "description": "Virtual Machine Name where the runtime will run. Please …
Run Code Online (Sandbox Code Playgroud)

azure azure-resource-manager azure-devops azure-rm-template

6
推荐指数
1
解决办法
2万
查看次数