< Back

Get-AzureRmApplicationGatewayBackendAddressPool

Tue Jan 29, 2019 9:53 pm

NAME Get-AzureRmApplicationGatewayBackendAddressPool



SYNOPSIS

Gets a back-end address pool for an application gateway.





SYNTAX

Get-AzureRmApplicationGatewayBackendAddressPool -ApplicationGateway <PSApplicationGateway> [-DefaultProfile <IAzureContextContainer>] [-Name

<String>] [<CommonParameters>]





DESCRIPTION







PARAMETERS

-ApplicationGateway <PSApplicationGateway>

The Get-AzureRmApplicationGatewayBackendAddressPool cmdlet gets a back-end address pool for an application gateway.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies the name of the back-end address pool that this cmdlet gets.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String







OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayBackendAddressPool







NOTES









Example 1: Get a specified back-end server pool



PS C:\\>$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"

PS C:\\> $BackendPool = Get-AzureRmApplicationGatewayBackendAddressPool -Name "Pool01" -ApplicationGateway $AppGw



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

variable. The second command gets the back-end address pool associated with $AppGw named Pool01 and stores it in the $BackendPool variable.





Example 2: Get a list of back-end server pool



PS C:\\>$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"

PS C:\\> $BackendPools = Get-AzureRmApplicationGatewayBackendAddressPool -ApplicationGateway $AppGw



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

variable. The second command gets a list of the back-end address pools associated with $AppGw, and stores the list in the $BackendPools variable.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ddresspool

Add-AzureRmApplicationGatewayBackendAddressPool

New-AzureRmApplicationGatewayBackendAddressPool

Remove-AzureRmApplicationGatewayBackendAddressPool

Set-AzureRmApplicationGatewayBackendAddressPool