- Microsoft Azure Administrator:Exam Guide AZ-103
- Sjoukje Zaal
- 349字
- 2021-06-24 14:01:56
Moving resources across resource groups
You can easily move your resources across different resource groups and subscriptions by using the Azure portal, PowerShell, the CLI, and the REST API. During the move operation, both the source group and the target group are locked. This blocks all write and delete operations on the resource group until the movement is complete. This means that you cannot update, add, or delete resources in the resource group, but the resources aren't frozen. There will be no downtime for these resources. However, the location of the resources will remain the same, even when the new resource group is created in a different location.
In the following demonstration, we are going to move resources from a resource group to another resource group using the Azure portal. For this demonstration, I've added a VM to this resource group and created a new resource group called PacktResourceGroup1. To move this VM, perform the following steps:
- Navigate to the Azure portal by opening https://portal.azure.com.
- In the left-hand menu, select Resource groups. Select the PacktResourceGroup that we created in the previous demonstration. Select all the VM resources from the list, and in the top menu, select Move:

- You have two possibilities: Move to another resource group and Move to another subscription. Click on Move to another resource group, and in the next screen, select PacktResourceGroup1 as the resource group, and check the checkbox underneath:

- Click on OK to move the resources to the other resource group.
After moving the resources, you can open the overview blade of PacktResourceGroup1. You will see that all the resources have been moved.
In the next (and final) section of this chapter, we are going to remove the resource group.
- Linux運維實戰:CentOS7.6操作系統從入門到精通
- 構建高可用Linux服務器(第4版)
- Mastering Distributed Tracing
- vSphere Virtual Machine Management
- Python基礎教程(第3版)
- Windows Server 2019 Administration Fundamentals
- AWS Development Essentials
- Linux系統最佳實踐工具:命令行技術
- Windows 7實戰從入門到精通(超值版)
- UI設計手繪表現從入門到精通
- Linux從入門到精通(視頻教學版)
- Zabbix監控系統之深度解析和實踐
- Microsoft DirectAccess Best Practices and Troubleshooting
- Microsoft Azure Administrator:Exam Guide AZ-103
- Mastering Spring Cloud