Skip to content

Commit c4485c1

Browse files
Merge pull request #215381 from adarshv98/patch-1
Update CLI
2 parents f3ca2a7 + 62d9406 commit c4485c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/storage/elastic-san/elastic-san-networking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Currently, you must use either the Azure PowerShell module or Azure CLI to manag
194194
> You can use the **subscription** parameter to retrieve the subnet ID for a virtual network belonging to another Azure AD tenant.
195195
196196
```azurecli
197-
az elastic-san volume-group update -e $sanName -g $resourceGroupName --name $volumeGroupName --network-acls "{virtualNetworkRules:[{id:/subscriptions/subscriptionID/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/vnetName/subnets/default, action:Allow}]}"
197+
az elastic-san volume-group update -e $sanName -g $resourceGroupName --name $volumeGroupName --network-acls '{virtual-network-rules:[{id:/subscriptions/subscriptionID/resourceGroups/RGName/providers/Microsoft.Network/virtualNetworks/vnetName/subnets/default,action:Allow}]}'
198198
```
199199
200200
- Remove a network rule. The following command removes the first network rule, modify it to remove the network rule you'd like.

0 commit comments

Comments
 (0)