Skip to content

Commit 249d870

Browse files
committed
docs: Fix invalid-tab-group warning by removing duplicate Portal tab
1 parent 188abac commit 249d870

1 file changed

Lines changed: 0 additions & 59 deletions

File tree

articles/virtual-network/tutorial-connect-virtual-networks.md

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -368,65 +368,6 @@ az network vnet create \
368368

369369
---
370370

371-
### [Portal](#tab/portal)
372-
373-
Create a virtual network with [az network vnet create](/cli/azure/network/vnet#az-network-vnet-create). The following example creates a virtual network named **vnet-1** with the address prefix **10.0.0.0/16**.
374-
375-
```azurecli-interactive
376-
az network vnet create \
377-
--name vnet-1 \
378-
--resource-group test-rg \
379-
--address-prefixes 10.0.0.0/16 \
380-
--subnet-name subnet-1 \
381-
--subnet-prefix 10.0.0.0/24
382-
```
383-
384-
Create the Bastion subnet with [az network vnet subnet create](/cli/azure/network/vnet/subnet).
385-
386-
```azurecli-interactive
387-
# Create a bastion subnet.
388-
az network vnet subnet create \
389-
--vnet-name vnet-1 \
390-
--resource-group test-rg \
391-
--name AzureBastionSubnet \
392-
--address-prefix 10.0.1.0/24
393-
```
394-
395-
Create a public IP address for the Azure Bastion host with [az network public-ip create](/cli/azure/network/public-ip). The following example creates a public IP address named *public-ip-bastion* in the *vnet-1* virtual network.
396-
397-
```azurecli-interactive
398-
az network public-ip create \
399-
--resource-group test-rg \
400-
--name public-ip-bastion \
401-
--location eastus2 \
402-
--allocation-method Static \
403-
--sku Standard
404-
```
405-
406-
Create an Azure Bastion host with [az network bastion create](/cli/azure/network/bastion). The following example creates an Azure Bastion host named *bastion* in the *AzureBastionSubnet* subnet of the *vnet-1* virtual network. Azure Bastion is used to securely connect Azure virtual machines without exposing them to the public internet.
407-
408-
```azurecli-interactive
409-
az network bastion create \
410-
--resource-group test-rg \
411-
--name bastion \
412-
--vnet-name vnet-1 \
413-
--public-ip-address public-ip-bastion \
414-
--location eastus2 \
415-
--sku Basic \
416-
--no-wait
417-
```
418-
419-
```azurecli-interactive
420-
az network vnet create \
421-
--name vnet-2 \
422-
--resource-group test-rg \
423-
--address-prefixes 10.1.0.0/16 \
424-
--subnet-name subnet-1 \
425-
--subnet-prefix 10.1.0.0/24
426-
```
427-
428-
---
429-
430371
## Peer virtual networks
431372

432373
### [Portal](#tab/portal)

0 commit comments

Comments
 (0)