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
@@ -60,7 +60,7 @@ In this section, you create a virtual network and the subnet that you'll later d
60
60
61
61
### Create a resource group
62
62
63
-
Create a resource group with [New-AzResourceGroup](/cli/azure/group). An Azure resource group is a logical container into which Azure resources are deployed and managed.
63
+
Create a resource group with [`New-AzResourceGroup`](/cli/azure/group). An Azure resource group is a logical container into which Azure resources are deployed and managed.
64
64
65
65
The following example creates a resource group named **test-rg** in the **eastus2** location:
66
66
@@ -73,7 +73,7 @@ New-AzResourceGroup @rg
73
73
```
74
74
### Create virtual network
75
75
76
-
Create a virtual network named **vnet-1** with a subnet named **subnet-1** using [New-AzVirtualNetworkSubnetConfig](/powershell/module/az.network/new-azvirtualnetworksubnetconfig) in the **test-rg** using [New-AzVirtualNetwork](/powershell/module/az.network/new-azvirtualnetwork).
76
+
Create a virtual network named **vnet-1** with a subnet named **subnet-1** using [`New-AzVirtualNetworkSubnetConfig`](/powershell/module/az.network/new-azvirtualnetworksubnetconfig) in the **test-rg** using [`New-AzVirtualNetwork`](/powershell/module/az.network/new-azvirtualnetwork).
77
77
78
78
The IP address space for the virtual network is **10.0.0.0/16**. The subnet within the virtual network is **10.0.0.0/24**.
79
79
@@ -98,7 +98,7 @@ New-AzVirtualNetwork @net
98
98
99
99
### Create a resource group
100
100
101
-
Create a resource group with [az group create](/cli/azure/group). An Azure resource group is a logical container into which Azure resources are deployed and managed.
101
+
Create a resource group with [`az group create`](/cli/azure/group). An Azure resource group is a logical container into which Azure resources are deployed and managed.
102
102
103
103
The following example creates a resource group named **test-rg** in the **eastu2** location:
104
104
@@ -110,7 +110,7 @@ az group create \
110
110
111
111
### Create a virtual network
112
112
113
-
Create a virtual network named **vnet-1** with a subnet named **subnet-1** in the **test-rg** using [az network vnet create](/cli/azure/network/vnet).
113
+
Create a virtual network named **vnet-1** with a subnet named **subnet-1** in the **test-rg** using [`az network vnet create`](/cli/azure/network/vnet).
114
114
115
115
```azurecli-interactive
116
116
az network vnet create \
@@ -151,7 +151,7 @@ In this section, you delegate the subnet that you created in the preceding secti
Use [Add-AzDelegation](/powershell/module/az.network/add-azdelegation) to update the subnet named **subnet-1** with a delegation named **myDelegation** to an Azure service. In this example **Microsoft.Sql/managedInstances** is used for the example delegation:
154
+
Use [`Add-AzDelegation`](/powershell/module/az.network/add-azdelegation) to update the subnet named **subnet-1** with a delegation named **myDelegation** to an Azure service. In this example **Microsoft.Sql/managedInstances** is used for the example delegation:
Use [az network vnet subnet update](/cli/azure/network/vnet/subnet#az-network-vnet-subnet-update) to update the subnet named **subnet-1** with a delegation to an Azure service. In this example **Microsoft.Sql/managedInstances** is used for the example delegation:
204
+
Use [`az network virtual network subnet update`](/cli/azure/network/vnet/subnet#az-network-vnet-subnet-update) to update the subnet named **subnet-1** with a delegation to an Azure service. In this example **Microsoft.Sql/managedInstances** is used for the example delegation:
205
205
206
206
```azurecli-interactive
207
207
az network vnet subnet update \
@@ -211,7 +211,7 @@ az network vnet subnet update \
211
211
--delegations Microsoft.Sql/managedInstances
212
212
```
213
213
214
-
To verify the delegation was applied, use [az network vnet subnet show](/cli/azure/network/vnet/subnet#az-network-vnet-subnet-show). Verify the service is delegated to the subnet in the property **serviceName**:
214
+
To verify the delegation was applied, use [`az network vnet subnet show`](/cli/azure/network/vnet/subnet#az-network-vnet-subnet-show). Verify the service is delegated to the subnet in the property **serviceName**:
215
215
216
216
```azurecli-interactive
217
217
az network vnet subnet show \
@@ -244,7 +244,7 @@ az network vnet subnet show \
244
244
245
245
## Remove subnet delegation from an Azure service
246
246
247
-
In this section, you'll remove a subnet delegation for an Azure service.
247
+
In this section, you remove a subnet delegation for an Azure service.
Use [az network vnet subnet update](/cli/azure/network/vnet/subnet#az-network-vnet-subnet-update) to remove the delegation from the subnet named **subnet-1**:
316
+
Use [`az network vnet subnet update`](/cli/azure/network/vnet/subnet#az-network-vnet-subnet-update) to remove the delegation from the subnet named **subnet-1**:
317
317
318
318
```azurecli-interactive
319
319
az network vnet subnet update \
@@ -322,7 +322,7 @@ az network vnet subnet update \
322
322
--vnet-name vnet-1 \
323
323
--remove delegations
324
324
```
325
-
To verify the delegation was removed, use [az network vnet subnet show](/cli/azure/network/vnet/subnet#az-network-vnet-subnet-show). Verify the service is removed from the subnet in the property **serviceName**:
325
+
To verify the delegation was removed, use [`az network vnet subnet show`](/cli/azure/network/vnet/subnet#az-network-vnet-subnet-show). Verify the service is removed from the subnet in the property **serviceName**:
0 commit comments