具有给定名称[name]的网站已存在 [英] Website with given name [name] already exists
问题描述
两天以来,我尝试通过以下Azure CLI命令创建具有不同名称的网络应用程序:
az webapp create -g testGroup -p testAppServicePlan -n testWebApp -r" NODE | 10.6" -l
我总是得到相同的错误消息:
具有给定名称[name]的网站已经存在。
我尝试了各种各样的名称,都产生了同样的错误。
注意:创建资源组和App Service计划都运行良好。
需要帮助。
谢谢,
Magnus
您是否定义了一个名为" testWebApp"并设置一些字符串?
或者我假设您实际上想要调用网站,在这种情况下,您需要将其包装在引号中:
az webapp create -g testGroup -p testAppServicePlan -n" testWebApp" -r"NODE | 10.6" -l
Hi,
Over two days I have tried creating web apps with different names, via the following Azure CLI command:
az webapp create -g testGroup -p testAppServicePlan -n testWebApp -r "NODE|10.6" -l
I always get the same error message:
Website with given name [name] already exists.
I tried a wide range of names, all produce the same error.
Note: Creating the resource group and the App Service plan both worked fine.
Help needed.
Thank you,
Magnus
Have you defined a variable called "testWebApp" and set some string?
Or I assume you actually want to call the website that, in which case you need to wrap it in quotes:
az webapp create -g testGroup -p testAppServicePlan -n "testWebApp" -r "NODE|10.6" -l
这篇关于具有给定名称[name]的网站已存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!