Remove-AzApplicationGatewayHttpListenerCustomError

アプリケーション ゲートウェイの http リスナーからカスタム エラーを削除します。

構文

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

説明

Remove-AzApplicationGatewayHttpListenerCustomError コマンドレットは、アプリケーション ゲートウェイの http リスナーからカスタム エラーを削除します。

例 1: http リスナーからカスタム エラーを削除する

Remove-AzApplicationGatewayHttpListenerCustomError -HttpListener $listener01 -StatusCode HttpStatus502

このコマンドは、http リスナー $listener 01 から http 状態コード 502 のカスタム エラーを削除し、更新されたリスナーを返します。

パラメーター

-DefaultProfile

Azure との通信のために使用される資格情報、アカウント、テナント、サブスクリプションです。

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

-HttpListener

Application Gateway Http リスナー

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

-StatusCode

Application Gateway のお客様エラーの状態コード。

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

入力

PSApplicationGatewayHttpListener

出力

PSApplicationGatewayCustomError