Skip to content

Commit ddec1e7

Browse files
committed
review-2
1 parent 26cb351 commit ddec1e7

File tree

7 files changed

+81
-81
lines changed

7 files changed

+81
-81
lines changed
Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.azure.move-azure-resources-to-another-resource-group.validate-resources
3-
title: Validate resources in Azure
4-
metadata:
5-
title: Validate resources in Azure
6-
description: Validate resources in Azure
7-
ms.date: 11/21/2023
8-
author: mumian
9-
ms.author: jgao
10-
ms.topic: unit
11-
durationInMinutes: 5
12-
content: |
13-
[!include[](includes/5-validate-resources.md)]
14-
quiz:
15-
title: "Check your knowledge"
16-
questions:
17-
- content: "In which of the following situations would a validation test happen automatically?"
18-
choices:
19-
- content: "When you use the Azure portal to move resources to a new resource group."
20-
isCorrect: true
21-
explanation: "The Azure portal always does a move validation test before it attempts the move operation itself."
22-
- content: "When you use the PowerShell to move resources to a new resource group."
23-
isCorrect: false
24-
explanation: "The PowerShell `Move-AzResource` cmdlet doesn't automatically perform a move validation test."
25-
- content: "When you use a mobile app to call the `moveResources` REST API method."
26-
isCorrect: false
27-
explanation: "The `moveResources` method doesn't automatically perform a move validation test. Call the `validateMoveResources` method to perform the test."
28-
- content: "In which of the following situations do you need to obtain an access token before you can validate a move?"
29-
choices:
30-
- content: "When you use the Azure portal to move the resources."
31-
isCorrect: false
32-
explanation: "The Azure portal automatically gets the access token for you, and adds it to the requests that validate and perform the move."
33-
- content: "When you use the Azure CLI to validate a move."
34-
isCorrect: false
35-
explanation: "The Azure CLI automatically gets the access token, and adds it to the request when you call any Azure REST API operation."
36-
- content: "When you use custom code to call the `validateMoveResources` REST API."
37-
isCorrect: true
38-
explanation: "To call any Azure REST API method from custom code, you must obtain and pass a valid access token."
39-
1+
### YamlMime:ModuleUnit
2+
uid: learn.azure.move-azure-resources-to-another-resource-group.validate-resources
3+
title: Validate resources in Azure
4+
metadata:
5+
title: Validate resources in Azure
6+
description: Validate resources in Azure
7+
ms.date: 11/21/2023
8+
author: mumian
9+
ms.author: jgao
10+
ms.topic: unit
11+
durationInMinutes: 5
12+
content: |
13+
[!include[](includes/5-validate-resources.md)]
14+
quiz:
15+
title: "Check your knowledge"
16+
questions:
17+
- content: "In which of the following situations would a validation test happen automatically?"
18+
choices:
19+
- content: "When you use the Azure portal to move resources to a new resource group."
20+
isCorrect: true
21+
explanation: "The Azure portal always does a move validation test before it attempts the move operation itself."
22+
- content: "When you use the PowerShell to move resources to a new resource group."
23+
isCorrect: false
24+
explanation: "The PowerShell `Move-AzResource` cmdlet doesn't automatically perform a move validation test."
25+
- content: "When you use a mobile app to call the `moveResources` REST API method."
26+
isCorrect: false
27+
explanation: "The `moveResources` method doesn't automatically perform a move validation test. To perform the test, call the `validateMoveResources` method."
28+
- content: "In which of the following situations do you need to obtain an access token before you can validate a move?"
29+
choices:
30+
- content: "When you use the Azure portal to move the resources."
31+
isCorrect: false
32+
explanation: "The Azure portal automatically gets the access token for you, and adds it to the requests that validate and perform the move."
33+
- content: "When you use the Azure CLI to validate a move."
34+
isCorrect: false
35+
explanation: "The Azure CLI automatically gets the access token, and adds it to the request when you call any Azure REST API operation."
36+
- content: "When you use custom code to call the `validateMoveResources` REST API."
37+
isCorrect: true
38+
explanation: "To call any Azure REST API method from custom code, you must obtain and pass a valid access token."
39+
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.azure.move-azure-resources-to-another-resource-group.move-verify-resources
3-
title: Identify steps to move resources between Azure resource groups
4-
metadata:
5-
title: Identify steps to move resources between Azure resource groups
6-
description: Learn what steps you might need to take to move and verify resources between Azure resource groups
7-
ms.date: 11/21/2023
8-
author: mumian
9-
ms.author: jgao
10-
ms.topic: unit
11-
durationInMinutes: 5
12-
content: |
13-
[!include[](includes/6-move-verify-resources.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.azure.move-azure-resources-to-another-resource-group.move-verify-resources
3+
title: Identify steps to move resources between Azure resource groups
4+
metadata:
5+
title: Identify steps to move resources between Azure resource groups
6+
description: Learn what steps you might need to take to move and verify resources between Azure resource groups.
7+
ms.date: 11/21/2023
8+
author: mumian
9+
ms.author: jgao
10+
ms.topic: unit
11+
durationInMinutes: 5
12+
content: |
13+
[!include[](includes/6-move-verify-resources.md)]
14+
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.azure.move-azure-resources-to-another-resource-group.exercise-move-verify-resources
3-
title: Exercise - Move and verify resources between Azure resource groups
4-
metadata:
5-
title: Exercise - Move and verify resources between Azure resource groups
6-
description: Exercise - Move and verify resources between Azure resource groups
7-
ms.date: 10/18/2024
8-
author: mumian
9-
ms.author: jgao
10-
ms.topic: unit
11-
durationInMinutes: 7
12-
content: |
13-
[!include[](includes/7-exercise-move-verify-resources.md)]
14-
1+
### YamlMime:ModuleUnit
2+
uid: learn.azure.move-azure-resources-to-another-resource-group.exercise-move-verify-resources
3+
title: Exercise - Move and verify resources between Azure resource groups
4+
metadata:
5+
title: Exercise - Move and verify resources between Azure resource groups
6+
description: Exercise - Move and verify resources between Azure resource groups.
7+
ms.date: 10/18/2024
8+
author: mumian
9+
ms.author: jgao
10+
ms.topic: unit
11+
durationInMinutes: 7
12+
content: |
13+
[!include[](includes/7-exercise-move-verify-resources.md)]
14+

learn-pr/azure/move-azure-resources-another-resource-group/includes/3-exercise-identify-incorrectly-assigned-resources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Create a storage account resource for production.
4646

4747
1. Accept the remaining default values.
4848

49-
1. Select **Review**. After validation passes, select **Create**. Wait for deployment to complete.
49+
1. Select **Review + create**. After validation passes, select **Create**. Wait for deployment to complete.
5050

5151
You now have a production resource group with a production storage account resource.
5252

@@ -70,7 +70,7 @@ Now, create some more resources that you can eventually move to a development re
7070

7171
1. Accept the remaining default values.
7272

73-
1. Select **Review**. After validation passes, select **Create**. Wait for deployment to complete.
73+
1. Select **Review + create**. After validation passes, select **Create**. Wait for deployment to complete.
7474

7575
1. Create another storage account with a unique name by repeating the storage account creation steps again. Wait for deployment to complete.
7676

learn-pr/azure/move-azure-resources-another-resource-group/includes/6-move-verify-resources.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ For our scenario, we just need to move a pair of storage accounts to a different
1616

1717
1. Move the dependent resources into one resource group with the resource.
1818
1. Move the resource and dependent resources together from the source subscription to the target subscription.
19-
1. If necessary, redistribute the dependent resources to different resource groups within the target subscription.
19+
1. Redistribute dependent resources to different resource groups within the target subscription, if necessary.
2020

2121
## How to move resources
2222

@@ -46,7 +46,7 @@ The following commands show you how to move a resource by using the Azure CLI.
4646
az resource move --destination-group <destination resource group name> --ids $yourResource
4747
```
4848

49-
1. Return all the resources in your resource group to verify your resource moved.
49+
1. Verify that your resource moved by listing all the resources in your resource group.
5050

5151
```azurecli
5252
az resource list --resource-group <destination resource group name> --query [].type --output tsv | uniq
@@ -76,7 +76,7 @@ The following commands show you how to move a resource by using Azure PowerShell
7676
Move-AzResource -DestinationResourceGroupName <destination resource group name> -ResourceId $yourResource.ResourceId
7777
```
7878

79-
1. Return all the resources in your resource group to verify your resource moved.
79+
1. Verify that your resource moved by listing all the resources in your resource group.
8080

8181
```powerShell
8282
Get-AzResource -ResourceGroupName <destination resource group name> | ft

learn-pr/azure/move-azure-resources-another-resource-group/includes/7-exercise-move-verify-resources.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ First you create the development resource group where you want to move your reso
1616
|---|---|
1717
| **Project details** |
1818
| Subscription | From the dropdown list, select your account's subscription |
19-
| Resource group | Enter *devgroup* |
19+
| Resource group | Enter *development-learn-rg* |
2020
| **Resource details** |
2121
| Region | Accept the default value |
2222

@@ -29,13 +29,13 @@ First you create the development resource group where you want to move your reso
2929
| Name | environment |
3030
| Value | development |
3131

32-
1. Select **Review + create**. After validation passes, select **Create**.
33-
3432
![Screenshot that shows how to assign a tag when you create a resource group.](../media/7-exercise-set-tags-on-rg.png)
3533

34+
1. Select **Review + create**. After validation passes, select **Create**.
35+
3636
## Move development resources to the new group
3737

38-
Now that a *devgroup* resource group is created, you can move your development resources into it.
38+
Now that a *development-learn-rg* resource group is created, you can move your development resources into it.
3939

4040
1. At the top of the Azure portal, search for and select **Tags**. The **Tags** pane appears.
4141

@@ -49,25 +49,25 @@ Now that a *devgroup* resource group is created, you can move your development r
4949

5050
The **Move resources** pane appears.
5151

52-
1. On the **Source + target** tab, under **Target**, for the **Resource group**, from the dropdown list, select **devgroup**.
52+
1. On the **Source + target** tab, under **Target**, for the **Resource group**, from the dropdown list, select **development-learn-rg**.
5353

5454
1. Select **Next**. On the **Resources to move** tab, the resources are validated as to whether they can be moved. The validation might take a few minutes.
5555

5656
1. After validation succeeds, select **Next**.
5757

5858
1. On the **Review** tab, check the disclaimer box, and then select **Move**.
5959

60-
The move might take a few minutes. Wait for the "Moving resources complete" notification that confirms your resource is scucessfuly moved. The notification appears in the top-right hand section of the portal.
60+
The move might take a few minutes. Wait for the "Moving resources complete" notification that confirms your resource is successfully moved. The notification appears in the top-right hand section of the portal.
6161

6262
1. Repeat this process again to move the other storage account.
6363

64-
To confirm that your move operations are successful:
64+
To confirm that your move operations were successful:
6565

6666
1. On the Azure portal home page, under **Azure services**, select **Resource groups**. The **Resource groups** pane appears.
6767

68-
1. Select **devgroup**. The *devgroup* Resource group pane appears.
68+
1. Select **development-learn-rg**. The *development-learn-rg* Resource group pane appears.
6969

70-
Notice that the development resources are now moved to the *devgroup* resource group.
70+
Notice that the development resources are now moved to the *development-learn-rg* resource group.
7171

7272
![Screenshot that shows resources moved.](../media/7-exercise-resources-moved.png)
7373

28.5 KB
Loading

0 commit comments

Comments
 (0)