VSTS Azure 资源组部署任务 API 版本
VSTS Azure Resource Group Deployment Task API Version
我最近升级了我的 ARM 模板以使用 "Microsoft.Resources/deployments" 类型的新 API 版本“2017-05-10”以利用新功能。
这样做时,VSTS 中的 Azure 资源组部署任务失败,因为我认为 Azure 资源组部署任务使用的 API 版本是旧版本。我收到的错误是:
[error] Deployment template validation failed: 'The template resource 'rds-poc-1' at line '1' and column '4188' is invalid. The nested deployment has api-version '2017-05-10', which is not supported in api-version '2016-07-01' used to deploy the template. Please use api-version '2017-05-10' or later to deploy the template. Or use an older api-version for the nested deployment in the template.
谁能验证一下,给点建议?
提前致谢!
使用 powershell 部署(不要忘记之前更新它),而不是 VSTS 构建步骤。
我最近升级了我的 ARM 模板以使用 "Microsoft.Resources/deployments" 类型的新 API 版本“2017-05-10”以利用新功能。
这样做时,VSTS 中的 Azure 资源组部署任务失败,因为我认为 Azure 资源组部署任务使用的 API 版本是旧版本。我收到的错误是:
[error] Deployment template validation failed: 'The template resource 'rds-poc-1' at line '1' and column '4188' is invalid. The nested deployment has api-version '2017-05-10', which is not supported in api-version '2016-07-01' used to deploy the template. Please use api-version '2017-05-10' or later to deploy the template. Or use an older api-version for the nested deployment in the template.
谁能验证一下,给点建议?
提前致谢!
使用 powershell 部署(不要忘记之前更新它),而不是 VSTS 构建步骤。