< Back

Remove-AzureRmApplicationGatewayHttpListener

Tue Jan 29, 2019 9:56 pm

NAME Remove-AzureRmApplicationGatewayHttpListener



SYNOPSIS

Removes an HTTP listener from an application gateway.





SYNTAX

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

[<CommonParameters>]





DESCRIPTION

The Remove-AzureRmApplicationGatewayHttpListener cmdlet removes an HTTP listener from an Azure application gateway.





PARAMETERS

-ApplicationGateway <PSApplicationGateway>

Specifies the application gateway from which to remove an 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 that this cmdlet removes.



Required? true

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: Remove an application gateway HTTP listener



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

PS C:\\> Remove-AzureRmApplicationGatewayHttpListener -ApplicationGateway $AppGw -Name "Listener02"



The first command gets an application gateway and stores it in the $AppGw variable.



The second command removes the HTTP listener named Listener02 from the application gateway stored in $AppGw.







RELATED LINKS

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

Add-AzureRmApplicationGatewayHttpListener

Get-AzureRmApplicationGatewayHttpListener

New-AzureRmApplicationGatewayHttpListener

Set-AzureRmApplicationGatewayHttpListener