Skip to content

Commit 62d9406

Browse files
authored
Update CLI
Updating vNet ACL CLI
1 parent f3ca2a7 commit 62d9406

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)