You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-network/move-across-regions-vnet-portal.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,7 @@ The following steps show how to prepare the virtual network for the move using a
85
85
86
86
* **Address Space** - The address space of the VNET can be altered in the template before saving by modifying the **resources** > **addressSpace** section and changing the **addressPrefixes** property in the **template.json** file:
87
87
88
-
```json
88
+
```json
89
89
"resources": [
90
90
{
91
91
"type": "Microsoft.Network/virtualNetworks",
@@ -100,11 +100,11 @@ The following steps show how to prepare the virtual network for the move using a
100
100
"10.0.0.0/16"
101
101
]
102
102
},
103
-
```
103
+
```
104
104
105
105
* **Subnet** - The subnet name and the subnet address space can be changed or added to by modifying the **subnets** section of the **template.json** file. The name of the subnet can be changed by altering the **name** property in the **template.json** file. The subnet address space can be changed by altering the **addressPrefix** property in the **template.json** file:
106
106
107
-
```json
107
+
```json
108
108
"subnets": [
109
109
{
110
110
"name": "subnet-1",
@@ -130,11 +130,11 @@ The following steps show how to prepare the virtual network for the move using a
130
130
}
131
131
}
132
132
],
133
-
```
133
+
```
134
134
135
135
In the **template.json** file, to change the address prefix, it must be edited in two places, the section listed above and the **type** section listed below. Change the **addressPrefix** property to match the one above:
Copy file name to clipboardExpand all lines: articles/virtual-network/move-across-regions-vnet-powershell.md
+34Lines changed: 34 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -156,6 +156,40 @@ The following steps show you how to prepare the virtual network for the move usi
156
156
157
157
In the **\<resource-group-name>.json** file, to change the address prefix, it must be edited in two places, the section listed above and the **type** section listed below. Change the **addressPrefix** property to match the one above:
10. Create a resource group in the target region for the target VNET to be deployed using [New-AzResourceGroup](https://docs.microsoft.com/powershell/module/az.resources/new-azresourcegroup?view=azps-2.6.0)
0 commit comments