File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
articles/application-gateway Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ services: application-gateway
5
5
author : greg-lindsay
6
6
ms.service : azure-application-gateway
7
7
ms.topic : how-to
8
- ms.date : 08/03/2022
8
+ ms.date : 09/25/2024
9
9
ms.author : greglin
10
10
# Customer intent: As a user, I want to know how can I disable/enable proxy buffers.
11
11
---
@@ -51,6 +51,21 @@ az network application-gateway update --name <gw-name> --resource-group <rg-name
51
51
az network application-gateway update --name <gw-name> --resource-group <rg-name> --set globalConfiguration.enableRequestBuffering=false
52
52
```
53
53
54
+ ### PowerShell method
55
+
56
+ ** New application gateway**
57
+ ``` PowerShell
58
+ $AppGw02 = New-AzApplicationGateway -Name "ApplicationGateway02" -ResourceGroupName "ResourceGroup02" -Location $location -BackendAddressPools $pool -BackendHttpSettingsCollection $poolSetting01 -FrontendIpConfigurations $fipconfig -GatewayIpConfigurations $gipconfig -FrontendPorts $fp01 -HttpListeners $listener01 -RequestRoutingRules $rule01 -Sku $sku
59
+ -EnableRequestBuffering = $false -EnableResponseBuffering = $false
60
+ ```
61
+ ** Update an existing application gateway**
62
+ ``` PowerShell
63
+ $appgw = Get-AzApplicationGateway -Name $appgwName -ResourceGroupName $rgname
64
+ $appgw.EnableRequestBuffering = $false
65
+ $appgw.EnableResponseBuffering = $false
66
+ Set-AzApplicationGateway -ApplicationGateway $appgw
67
+ ```
68
+
54
69
### ARM template method
55
70
56
71
``` json
You can’t perform that action at this time.
0 commit comments