Skip to content

Latest commit

 

History

History
94 lines (69 loc) · 2.44 KB

Remove-AzureRmApplicationGatewayHttpListenerCustomError.md

File metadata and controls

94 lines (69 loc) · 2.44 KB
Error in user YAML: (<unknown>): could not find expected ':' while scanning a simple key at line 3 column 1
---
external help file: Microsoft.Azure.Commands.Network.dll-Help.xml
Module Name: AzureRM.Network
online version:https://docs.microsoft.com/en-us/powershell/module/azurerm.network/remove-azurermapplicationgatewayhttplistenercustomerror
schema: 2.0.0
---

Remove-AzureRmApplicationGatewayHttpListenerCustomError

SYNOPSIS

Removes a custom error from a http listener of an application gateway.

SYNTAX

Remove-AzureRmApplicationGatewayHttpListenerCustomError -StatusCode <String>
 -HttpListener <PSApplicationGatewayHttpListener> [-DefaultProfile <IAzureContextContainer>]
 [<CommonParameters>]

DESCRIPTION

The Remove-AzureRmApplicationGatewayCustomError cmdlet removes a custom error from a http listener of an application gateway.

EXAMPLES

Example 1: Removes custom error from a http listener

PS C:\> $updatedlistener = Remove-AzureRmApplicationGatewayCustomError -HttpListener $listener01 -StatusCode HttpStatus502

This command removes the custom error of http status code 502 from the http listener $listener01, and return the updated listener.

PARAMETERS

-DefaultProfile

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

Type: IAzureContextContainer
Parameter Sets: (All)
Aliases: AzureRmContext, AzureCredential

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-HttpListener

The Application Gateway Http Listener

Type: PSApplicationGatewayHttpListener
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-StatusCode

Status code of the application gateway customer error.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayHttpListener

OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayHttpListener

NOTES

RELATED LINKS