psf*_*aki 4 azure azure-devops azure-rm-template azure-pipelines azure-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
Run Code Online (Sandbox Code Playgroud)
是否有可能获得任何详细信息?例如,创建了哪些资源、名称和时间?
不,根据架构。但是您始终可以使用 Azure Powershell 任务来实现这一点,例如:
New-AzResourceGroupDeployment -Verbose ...
Run Code Online (Sandbox Code Playgroud)
所以基本上将-Verboseswitch添加到您的New-AzResourceGroupDeploymentcmdlet 中。很确定这是你能得到的最接近的
| 归档时间: |
|
| 查看次数: |
1210 次 |
| 最近记录: |