Skip to content

Commit 42b2b59

Browse files
authored
Set-AzureRmApplicationGatewayBackendAddressPool doc fix
1 parent e09abe0 commit 42b2b59

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

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)