【发布时间】:2016-03-24 23:14:38
【问题描述】:
我正在使用 ARM 模板配置新的 Azure 环境。
为了部署,我使用 Azure PowerShell New-AzureRmResourceGroupDeployment 命令,我在其中指定 DeploymentName 、 ResourceGroupName 等。
但是,当我想通过运行删除部署的资源时
Remove-AzureRmResourceGroupDeployment -Name DeploymentName -ResourceGroupName RGname -Force
它不会删除资源。它只是删除 Azure 门户中部署选项卡中的一个标记。有没有办法回滚或删除相关资源的部署?我不想删除整个资源组。
【问题讨论】:
标签: azure azure-powershell azure-resource-manager azure-deployment arm-template