Share via


Remove-AzApplicationGatewayHttpListenerCustomError

Eltávolít egy egyéni hibát egy application gateway HTTP-figyelőjével.

Syntax

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

Description

A Remove-AzApplicationGatewayHttpListenerCustomError parancsmag eltávolít egy egyéni hibát az application gateway http-figyelőjéből.

Példák

1. példa: Egyéni hiba eltávolítása http-figyelőből

Remove-AzApplicationGatewayHttpListenerCustomError -HttpListener $listener01 -StatusCode HttpStatus502

Ez a parancs eltávolítja az 502-ben megadott http-állapotkód egyéni hibáját a http-figyelőből $listener 01, és visszaadja a frissített figyelőt.

Paraméterek

-DefaultProfile

Az Azure-ral való kommunikációhoz használt hitelesítő adatok, fiók, bérlő és előfizetés.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-HttpListener

Az Application Gateway http-figyelője

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

-StatusCode

Az Application Gateway-ügyfél hibájának állapotkódja.

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

Bevitelek

PSApplicationGatewayHttpListener

Kimenetek

PSApplicationGatewayCustomError