Skip to content

Commit 7600a5c

Browse files
Option --remove-vnet-id has been removed in current API
In the current API for the CLI, `--remote-vnet-id` when creating a vnet peering is no longer supported. I get the error `the following arguments are required: --remote-vnet` if I use `--remote-vnet-id`
1 parent 38cd148 commit 7600a5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/virtual-network/create-peering-different-deployment-models-subscriptions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ This tutorial uses different accounts for each subscription. If you're using an
153153
--name myVnetAToMyVnetB \
154154
--resource-group $rgName \
155155
--vnet-name myVnetA \
156-
--remote-vnet-id /subscriptions/<SubscriptionB-id>/resourceGroups/Default-Networking/providers/Microsoft.ClassicNetwork/virtualNetworks/myVnetB \
156+
--remote-vnet /subscriptions/<SubscriptionB-id>/resourceGroups/Default-Networking/providers/Microsoft.ClassicNetwork/virtualNetworks/myVnetB \
157157
--allow-vnet-access
158158
```
159159

0 commit comments

Comments
 (0)