Skip to content

Commit 0d7d958

Browse files
author
Maddie Clayton
authored
Merge pull request #5488 from Azure/MiYanni-patch-1
Set-AzureRmApplicationGatewayBackendAddressPool doc fix
2 parents e09abe0 + c301b39 commit 0d7d958

File tree

2 files changed

+1
-16
lines changed

2 files changed

+1
-16
lines changed

src/ResourceManager/Network/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020
## Current Release
2121
* Fix overwrite message 'Are you sure you want to overwriteresource'
22+
* Updated Set-AzureRmApplicationGatewayBackendAddressPool documentation to remove deprecated example
2223

2324
## Version 5.1.0
2425
* Added -AsJob support for long-running Network cmdlets. Allows selected cmdlets to run in the background and return a job to track and control progress.

src/ResourceManager/Network/Commands.Network/help/Set-AzureRmApplicationGatewayBackendAddressPool.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -46,22 +46,6 @@ The first command gets the application gateway named ApplicationGateway01 in the
4646

4747
The second command updates the back-end address pool of the application gateway in $AppGw by using IP addresses.
4848

49-
### Example 3: Setting a back-end address pool by using the ID of the backend server?s IP address
50-
```
51-
PS C:\> $Nic01 = Get-AzureRmNetworkInterface -Name "Nic01" -ResourceGroupName "ResourceGroup01"
52-
PS C:\> $Nic02 = Get-AzureRmNetworkInterface -Name "Nic02" -ResourceGroupName "ResourceGroup01"
53-
PS C:\> $AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
54-
PS C:\> $AppGw = Set-AzureRmApplicationGatewayBackendAddressPool -ApplicationGateway $AppGw -Name "Pool02" -BackendIPConfigurationIds $nic01.Properties.IpConfigurations[0].Id, $nic02.Properties.IpConfiguration[0].Id
55-
```
56-
57-
The first command gets a network interface object named Nic01 that belongs to the resource group named ResourceGroup01, and stores it in the $Nic01 variable.
58-
59-
The second command gets a network interface object named Nic02 that belongs to the resource group named ResourceGroup02, and stores it in the $Nic02 variable.
60-
61-
The third command gets the application gateway named ApplicationGateway01 in the resource group named ResourceGroup01, and stores it in the $AppGw variable.
62-
63-
The forth command uses the back-end IP configuration IDs from $Nic01 and $Nic02 to update the back-end address pool of the application gateway in $AppGw.
64-
6549
## PARAMETERS
6650

6751
### -ApplicationGateway

0 commit comments

Comments
 (0)