Skip to content

Commit bdfcc88

Browse files
committed
updates11
1 parent 85024f3 commit bdfcc88

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

articles/expressroute/quickstart-create-expressroute-vnet-terraform.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,6 @@ In this article, you learn how to:
7979
resource_group_name=$(terraform output -raw resource_group_name)
8080
```
8181

82-
1. Get the ExpressRoute circuit ID.
83-
84-
```console
85-
express_route_circuit_id=$(terraform output -raw express_route_circuit_id)
86-
```
87-
8882
1. Get the gateway name.
8983

9084
```console
@@ -97,20 +91,14 @@ In this article, you learn how to:
9791
az network vnet-gateway show --name $gateway_name --resource-group $resource_group_name
9892
```
9993

100-
### [PowerShell](#tab/PowerShell)
94+
### [Azure PowerShell](#tab/azure-powershell)
10195

10296
1. Get the Azure resource group name.
10397

10498
```console
10599
$resource_group_name=$(terraform output -raw resource_group_name)
106100
```
107101

108-
1. Get the ExpressRoute circuit ID.
109-
110-
```console
111-
$expressRouteCircuitId=$(terraform output -raw express_route_circuit_id)
112-
```
113-
114102
1. Get the gateway name.
115103

116104
```console
@@ -120,7 +108,7 @@ In this article, you learn how to:
120108
1. Run [`Get-AzVirtualNetworkGateway`](/powershell/module/az.network/get-azvirtualnetworkgateway#:~:text=Example%202:%20Get%20a%20Virtual%20Network%20Gateway) to view the Azure virtual network gateway.
121109

122110
```azurepowershell
123-
Get-AzVirtualNetworkGateway -Name gateway_name* -ResourceGroupName resource_group_name
111+
Get-AzVirtualNetworkGateway -Name $gateway_name -ResourceGroupName $resource_group_name
124112
```
125113

126114
---

0 commit comments

Comments
 (0)