gpt4 book ai didi

azure - 移至另一个订阅 : Cannot move resources because some site(s) are hosted by other resource group(s) but located in resource group 'XXX'

转载 作者:行者123 更新时间:2023-12-02 06:47:38 28 4
gpt4 key购买 nike

我有资源组“MyResources”,其中包含 4 个资源:

  • AppService - 我的服务器
  • AppServicePlan - MyServerWestEuFarm
  • ApplicationInsights - myserver-insights
  • StoregeAccount - myserverstorage

当我尝试将它们移至另一个订阅时,我收到错误消息:

Cannot move resources because some site(s) are hosted by other resource group(s) but located in resource group 'MyResources'. The list of sites and corresponding hosting resource groups: myserver:vyvojari.sk'. This may be a result of prior move operations. Move the site(s) back to respective hosting resource groups and try again. (Code: BadRequest, Target: Microsoft.Web/serverFarms)

这是什么意思?尤其是 myserver:vyvojari.sk 令人困惑。

“vyvojari.sk” 是另一个资源组,我可能过去在该资源组中创建了 myserver appservice 并进行了移动。那又怎样?

在 myserver AppService 的资源浏览器中我看到:

{
"id": "/subscriptions/xxxxxxxx-d9e0-4769-8440-8cd7968bf94d/resourceGroups/MyResources/providers/Microsoft.Web/sites/myserver",
"name": "myserver",
"type": "Microsoft.Web/sites",
"kind": "app",
"location": "West Europe",
"properties": {
"name": "myserver",
"state": "Running",
"hostNames": [
"myserver.azurewebsites.net"
],
"webSpace": "vyvojari.sk-WestEuropewebspace",
"selfLink": "https://waws-prod-am2-071.api.azurewebsites.windows.net/subscriptions/xxxxxxxx-d9e0-4769-8440-8cd7968bf94d/webspaces/vyvojari.sk-WestEuropewebspace/site/myserver",
"repositorySiteName": "myserver",

但是什么是网络空间和自链接?我该如何更改它?

最佳答案

这可能太明显了,但我认为,他们希望您将“myserver”资源移回“vyvojari.sk”资源组。完成后,进行订阅操作。

虽然 myserver 位于当前资源中(您已经说过您可能已将其移至此处),但尽管它是当前组的一部分,但仍有可能“托管”在该 vyvojari 资源组中。按照这个逻辑,看起来将其移回 vyvojari 应该允许您执行与订阅相关的任务。

关于azure - 移至另一个订阅 : Cannot move resources because some site(s) are hosted by other resource group(s) but located in resource group 'XXX' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45833180/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com