< Back

Get-AzureRmApplicationGatewayHttpListener

Tue Jan 29, 2019 9:53 pm

NAME Get-AzureRmApplicationGatewayHttpListener



SYNOPSIS

Gets the HTTP listener of an application gateway.





SYNTAX

Get-AzureRmApplicationGatewayHttpListener -ApplicationGateway <PSApplicationGateway> [-DefaultProfile <IAzureContextContainer>] [-Name <String>]

[<CommonParameters>]





DESCRIPTION

The Get-AzureRmApplicationGatewayHttpListener cmdlet gets the HTTP listener of an application gateway.





PARAMETERS

-ApplicationGateway <PSApplicationGateway>

Specifies the application gateway object that contains the HTTP listener.



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 HTTP listener which 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.PSApplicationGatewayHttpListener







NOTES









Example 1: Get a specific HTTP listener



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

PS C:\\> $Listener = Get-AzureRmApplicationGatewayHttpListener -Name "Listener01" -ApplicationGateway $Appgw



This command gets an HTTP listener named Listener01.





Example 2: Get a list of HTTP listeners



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

PS C:\\> $Listeners = Get-AzureRmApplicationGatewayHttpListener -ApplicationGateway $Appgw



This command gets a list of HTTP listeners.







RELATED LINKS

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

Add-AzureRmApplicationGatewayHttpListener

New-AzureRmApplicationGatewayHttpListener

Remove-AzureRmApplicationGatewayHttpListener

Set-AzureRmApplicationGatewayHttpListener