Skip to content

Commit 3966a39

Browse files
Update Set-AzApplicationGatewayBackendAddressPool.md (#21458)
Updating with Set-AzApplicationGateway command without which the application gateway configuration changes are not saved.
1 parent fa4d137 commit 3966a39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Network/Network/help/Set-AzApplicationGatewayBackendAddressPool.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Back-end addresses can be specified as IP addresses, fully-qualified domain name
2929
```powershell
3030
$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
3131
$AppGw = Set-AzApplicationGatewayBackendAddressPool -ApplicationGateway $AppGw -Name "Pool02" -BackendFqdns "contoso1.com", "contoso2.com"
32+
Set-AzApplicationGateway -ApplicationGateway $AppGw
3233
```
3334

3435
The first command gets the application gateway named ApplicationGateway01 in the resource group named ResourceGroup01, and stores it in the $AppGw variable.
@@ -38,6 +39,7 @@ The second command updates the back-end address pool of the application gateway
3839
```powershell
3940
$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
4041
$AppGw = Set-AzApplicationGatewayBackendAddressPool -ApplicationGateway $AppGw -Name "Pool02" -BackendIPAddresses "10.10.10.10", "10.10.10.11"
42+
Set-AzApplicationGateway -ApplicationGateway $AppGw
4143
```
4244

4345
The first command gets the application gateway named ApplicationGateway01 in the resource group named ResourceGroup01, and stores it in the $AppGw variable.

0 commit comments

Comments
 (0)