azure - 是否可以在 Azure DevOps 中显示 ARM 部署的进度?

标签 azure azure-devops azure-pipelines azure-rm-template

我在 Azure DevOps 中有一个管道。构建和测试内容后,我创建 Azure 资源以便在那里部署应用程序。

我为此使用Azure 资源组部署任务。它有效,但在日志中我只看到这个(对于我创建的所有资源):

******************************************************************************
Starting: Create Azure Resources
******************************************************************************
==============================================================================
Task         : Azure Resource Group Deployment
Description  : Deploy an Azure resource manager (ARM) template to a resource group. You can also start, stop, delete, deallocate all Virtual Machines (VM) in a resource group
Version      : 2.147.2
Author       : Microsoft Corporation
Help         : [More Information](https://aka.ms/argtaskreadme)
==============================================================================
Checking if the following resource group exists: awesomeApp42.
Resource group exists: true.
Creating deployment parameters.
The detected encoding for file 'D:\a\1\s\arm-template.json' is 'utf-8'
Starting Deployment.
Deployment name is awesomeApp42.
Successfully deployed the template.
##[section]Finishing: Create Azure Resources

能否了解相关详情?例如。创建了哪些资源、名称和时间?

最佳答案

否,根据 the schema 。但您始终可以使用 Azure Powershell 任务来实现这一目标,例如:

New-AzResourceGroupDeployment -Verbose ...

所以基本上将 -Verbose 开关添加到 New-AzResourceGroupDeployment cmdlet。很确定这是您能得到的最接近的结果

关于azure - 是否可以在 Azure DevOps 中显示 ARM 部署的进度?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54983761/

相关文章:

docker - 无法在Azure发布管道的App Service内部创建Docker网络

azure - 是否建议面向客户的应用程序使用 Azure Active Directory 进行身份验证?

c# - 如何更新cosmos db中的子文档

permissions - Azure Devops : How to set permissions on work-items at the organization level?

java - 如何在 VSTS 中部署后触发 Java Selenium 测试

azure-devops - 如何构建用于测试和发布环境的 Azure DevOps Pipelines?

api - 授权 Azure AD 应用程序访问 RateCard API

c# - 将 Azure B2C 与 MVC、.NET Core 3.1 结合使用

c# - 如何使用 c# 或 msbuild 显示当前构建?

visual-studio - Visual Studio Team Services 构建 Typescript 错误