Skip to content

Commit a7d4fa1

Browse files
committed
fixes
1 parent f51501d commit a7d4fa1

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

articles/nat-gateway/tutorial-hub-spoke-route-nat.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,8 @@ az network public-ip create \
242242
--resource-group test-rg \
243243
--name public-ip-bastion \
244244
--sku Standard \
245-
--allocation-method Static
245+
--allocation-method Static \
246+
--zone 1 2 3
246247
```
247248

248249
Use [az network bastion create](/cli/azure/network/bastion#az_network_bastion_create) to create the Azure Bastion host.
@@ -332,7 +333,7 @@ Use [az network nic create](/cli/azure/network/nic#az_network_nic_create) to cre
332333
az network nic create \
333334
--resource-group test-rg \
334335
--name nic-public \
335-
--vnet-name vnet-1 \
336+
--vnet-name vnet-hub \
336337
--subnet subnet-public \
337338
--network-security-group nsg-nva
338339
```
@@ -441,6 +442,14 @@ az network nic create \
441442
--private-ip-address 10.0.0.10
442443
```
443444

445+
Use [az vm deallocate](/cli/azure/vm#az_vm_deallocate) to shutdown and deallocate the virtual machine.
446+
447+
```azurecli-interactive
448+
az vm deallocate \
449+
--resource-group test-rg \
450+
--name vm-nva
451+
```
452+
444453
Use [az vm nic add](/cli/azure/vm/nic#az_vm_nic_add) to attach the secondary network interface to the virtual machine.
445454

446455
```azurecli-interactive
@@ -450,6 +459,14 @@ az vm nic add \
450459
--nics nic-private
451460
```
452461

462+
Use [az vm start](/cli/azure/vm#az_vm_start) to start the virtual machine.
463+
464+
```azurecli-interactive
465+
az vm start \
466+
--resource-group test-rg \
467+
--name vm-nva
468+
```
469+
453470
---
454471

455472
### Configure virtual machine software

0 commit comments

Comments
 (0)