Get-AzApplicationGatewayHttpListenerCustomError
アプリケーション ゲートウェイの http リスナーからカスタム エラーを取得します。
構文
Get-AzApplicationGatewayHttpListenerCustomError
[-StatusCode <String>]
-HttpListener <PSApplicationGatewayHttpListener>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
説明
Get-AzApplicationGatewayCustomError コマンドレットは、アプリケーション ゲートウェイの http リスナーからカスタム エラーを取得します。
例
例 1: http リスナーでカスタム エラーを取得する
$ce = Get-AzApplicationGatewayHttpListenerCustomError -HttpListener $listener01 -StatusCode HttpStatus502
このコマンドは、http リスナー $listener 01 から http 状態コード 502 のカスタム エラーを取得して返します。
例 2: http リスナー内のすべてのカスタム エラーの一覧を取得します
$ces = Get-AzApplicationGatewayHttpListenerCustomError -HttpListener $listener01
このコマンドは、http リスナー $listener 01 からすべてのカスタム エラーの一覧を取得して返します。
パラメーター
-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: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
入力
PSApplicationGatewayHttpListener
出力
PSApplicationGatewayCustomError
関連リンク
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示