Skip to content

Commit 3b9df53

Browse files
committed
fixes
1 parent 7ddd81a commit 3b9df53

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

articles/nat-gateway/quickstart-create-nat-gateway.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -563,47 +563,47 @@ As with the public key, the names of the created resource group, virtual network
563563

564564
1. Get the Azure resource group name.
565565

566-
```console
567-
resource_group_name=$(terraform output -raw resource_group_name)
568-
```
566+
```console
567+
resource_group_name=$(terraform output -raw resource_group_name)
568+
```
569569

570570
1. Get the NAT gateway ID.
571571

572-
```console
572+
```console
573573
nat_gateway=$(terraform output -raw nat_gateway)
574-
```
574+
```
575575

576576
1. Run [az network nat gateway show](/cli/azure/network/nat/gateway#az-network-nat-gateway-show) to display the details about the NAT gateway.
577577

578-
```azurecli
579-
az network nat gateway show \
580-
--resource-group $resource_group_name \
581-
--ids $nat_gateway
582-
```
578+
```azurecli
579+
az network nat gateway show \
580+
--resource-group $resource_group_name \
581+
--ids $nat_gateway
582+
```
583583

584584
### PowerShell
585585

586586
1. Get the Azure resource group name.
587587

588-
```console
589-
$resource_group_name=$(terraform output -raw resource_group_name)
590-
```
588+
```console
589+
$resource_group_name=$(terraform output -raw resource_group_name)
590+
```
591591

592592
1. Get the NAT gateway ID.
593593

594-
```console
595-
$nat_gateway=$(terraform output -raw nat_gateway)
596-
```
594+
```console
595+
$nat_gateway=$(terraform output -raw nat_gateway)
596+
```
597597

598598
1. Run [Get-AzNatGateway](/powershell/module/az.network/get-aznatgateway) to display the details about the NAT gateway.
599599

600-
```azurepowershell
601-
$nat = @{
602-
Name = $nat_gateway
603-
ResourceGroupName = $resource_group_name
604-
}
605-
Get-AzNatGateway @nat
606-
```
600+
```azurepowershell
601+
$nat = @{
602+
Name = $nat_gateway
603+
ResourceGroupName = $resource_group_name
604+
}
605+
Get-AzNatGateway @nat
606+
```
607607

608608
---
609609

0 commit comments

Comments
 (0)