简体   繁体   中英

Azure Resource Manager - How can I change the Resource Group of a Resource?

I've been combing through the Powershell commands trying to figure out how to take my currently deployed Website/SQL Database/Storage account and move them into their own Resource Group.

Is it possible to move Azure "Resources" between Resource Groups? Or do I always have to create new Resources and migrate the data/code into those new Resources?

It is now possible to do what you want in PowerShell, I believe. This blog post provides an overview of how to do it: http://blog.kloud.com.au/2015/03/24/moving-resources-between-azure-resource-groups/

The features are available as of Azure PowerShell cmdlets v0.8.15.1, I believe.

Right now Azure Resource Manager doesn't support moving resources from one group to another. There is also no storage support yet for Azure Resource Manager.

Migration is an important scenario and we're working on to get the experience better.

Guang Yang | PM | Azure

You can move resources by:
- Navigating to the Resource Group you wish to move resources out of
- Click "Move" at the top
- Select the resources you want to move
- Select the new group to move them into

You can move resources between resource groups using either the ARM REST Api or the Powershell Api

You can find more details here: https://azure.microsoft.com/en-us/documentation/articles/resource-group-move-resources/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM