Skip to content

Commit 1447f7f

Browse files
committed
tweak
1 parent e68ae80 commit 1447f7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/application-gateway/application-gateway-troubleshooting-502.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Get-AzVirtualNetworkSubnetConfig -Name appGwSubnet -VirtualNetwork $vnet
5050

5151
* Check effective NSG and route with the backend VM
5252

53-
```powershell
53+
```azurepowershell
5454
Get-AzEffectiveNetworkSecurityGroup -NetworkInterfaceName nic1 -ResourceGroupName testrg
5555
Get-AzEffectiveRouteTable -NetworkInterfaceName nic1 -ResourceGroupName testrg
5656
```
@@ -131,7 +131,7 @@ When a user request is received, the application gateway applies the configured
131131

132132
Application Gateway allows you to configure this setting via the BackendHttpSetting, which can be then applied to different pools. Different back-end pools can have different BackendHttpSetting, and a different request time-out configured.
133133

134-
```powershell
134+
```azurepowershell
135135
New-AzApplicationGatewayBackendHttpSettings -Name 'Setting01' -Port 80 -Protocol Http -CookieBasedAffinity Enabled -RequestTimeout 60
136136
```
137137

@@ -145,7 +145,7 @@ If the application gateway has no VMs or virtual machine scale set configured in
145145

146146
Ensure that the back-end address pool isn't empty. This can be done either via PowerShell, CLI, or portal.
147147

148-
```powershell
148+
```azurepowershell
149149
Get-AzApplicationGateway -Name "SampleGateway" -ResourceGroupName "ExampleResourceGroup"
150150
```
151151

0 commit comments

Comments
 (0)