将 Azure 存储帐户移动到另一个资源组时出错
Error when moving Azure storage account to another resource group
我想将 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
}
]
}
}
资源存在 - 我验证了第一个命令 returns 资源。
如何移动存储帐户? "Storage account"(带有绿色图标)出现问题,而不是 "Storage account (classic)" 在管理门户中带有蓝色图标。
好的,已验证 - storageAccounts 尚不支持移动 api。
我想将 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
}
]
}
}
资源存在 - 我验证了第一个命令 returns 资源。 如何移动存储帐户? "Storage account"(带有绿色图标)出现问题,而不是 "Storage account (classic)" 在管理门户中带有蓝色图标。
好的,已验证 - storageAccounts 尚不支持移动 api。