Remove-AzApplicationGatewayHttpListenerCustomError
Odebere vlastní chybu z naslouchacího procesu HTTP aplikační brány.
Syntax
Remove-AzApplicationGatewayHttpListenerCustomError
-StatusCode <String>
-HttpListener <PSApplicationGatewayHttpListener>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Rutina Remove-AzApplicationGatewayHttpListenerCustomError odebere vlastní chybu z naslouchacího procesu http aplikační brány.
Příklady
Příklad 1: Odebere vlastní chybu z naslouchacího procesu HTTP.
Remove-AzApplicationGatewayHttpListenerCustomError -HttpListener $listener01 -StatusCode HttpStatus502
Tento příkaz odebere vlastní chybu stavového kódu HTTP 502 z naslouchacího procesu http $listener 01 a vrátí aktualizovaný naslouchací proces.
Parametry
-DefaultProfile
Přihlašovací údaje, účet, tenant a předplatné používané ke komunikaci s Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-HttpListener
Naslouchací proces HTTP služby Application Gateway
Type: | PSApplicationGatewayHttpListener |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-StatusCode
Stavový kód chyby zákazníka služby Application Gateway
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Vstupy
PSApplicationGatewayHttpListener
Výstupy
PSApplicationGatewayCustomError