取消Azure资源管理器部署 [英] Cancelling azure resource manager deployment

查看:70
本文介绍了取消Azure资源管理器部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我已经开始创建一个新的资源组,但是它似乎停留在供应服务器场资源上. 重新启动部署会输出以下错误:

Recently I've started creating a new resource group but it seems to be stuck at provisioning server farm resource. Restarting deployment outputs the following error:

New-AzureResourceGroup : DeploymentActive: Unable to edit or replace deployment 'App': previous deployment from '8/26/2015 8:48:55 AM' is still active (expiration time is '9/2/2015 8:48:54 AM').

我没有时间等待它的到期.有没有办法取消Azure ARM部署?

I have no time to wait for its expiration. Is there a way to cancel Azure ARM deployment?

推荐答案

Stop-AzureRmResourceGroupDeployment应该取消部署并保留资源组(如果需要使用该路由).

Stop-AzureRmResourceGroupDeployment should cancel the deployment and preserve the resourcegroup if you need to go that route.

https://docs.microsoft.com/en-us/powershell/module/azurerm.resources/stop-azurermresourcegroupdeployment

这篇关于取消Azure资源管理器部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆