【问题标题】:Error when moving Azure storage account to another resource group将 Azure 存储帐户移动到另一个资源组时出错
【发布时间】:2016-02-10 05:04:51
【问题描述】:

我想将 Azure 存储帐户从一个资源组移动到另一个(都在同一个订阅中)。我发出这样的命令:

Get-AzureResource -Name storage1 -ResourceGroupName RG-Test | Move-AzureResource -DestinationResourceGroupName Test01

但出现错误:

Move-AzureResource : { "Error": { "Code": "104", "Message": "Resources '/subscriptions/<guid>/resourceGroups/RG-Test/providers/Microsoft.Storage/storageAccounts/storage1' could not be moved. The tracking Id is 'cf831a76-983d-4b0a-924f-437ad75fc5e3'", "Target": null, "Details": [ { "Code": "0", "Message": "{\"error\":{\"code\":\"HttpResourceNotFound\",\"message\":\"No HTTP resource was found that matches the request URI 'https://globalxls.storage.azure.com:443/subscriptions/<guid>/resourceGroups/RG-Test/moveResources?api-version=2015-05-01-preview'.\"}}", "Target": "Microsoft.Storage/storageAccounts", "Details": null } ] } }

资源存在 - 我验证第一个命令返回资源。 我可以做些什么来移动存储帐户?问题出现在“存储帐户”(带有绿色图标),而不是“存储帐户(经典)”和管理门户中的蓝色图标。

【问题讨论】:

  • 我认为存储帐户尚不支持 move api - 让我验证并回复您...

标签: azure-storage azure-powershell azure-resource-manager


【解决方案1】:

好的,已验证 - storageAccounts 尚不支持 move api。

【讨论】:

  • 哇,不知道在资源组之间移动资源还只是针对资源子集。也许说“尚不支持”的错误会更好。但是,是否有一个列表可以列出哪些资源可以移动,哪些还没有?
  • 如您所说,许多错误都可以得到改善……我们正在努力解决这个问题。同时,您可以在此处查看最新列表:azure.microsoft.com/en-us/documentation/articles/…
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2013-06-26
  • 1970-01-01
  • 1970-01-01
  • 2020-05-20
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多