Remove-AzApplicationGatewayHttpListenerCustomError
Menghapus kesalahan kustom dari pendengar http gateway aplikasi.
Sintaks
Remove-AzApplicationGatewayHttpListenerCustomError
-StatusCode <String>
-HttpListener <PSApplicationGatewayHttpListener>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Deskripsi
Cmdlet Remove-AzApplicationGatewayHttpListenerCustomError menghapus kesalahan kustom dari pendengar http gateway aplikasi.
Contoh
Contoh 1: Menghapus kesalahan kustom dari pendengar http
Remove-AzApplicationGatewayHttpListenerCustomError -HttpListener $listener01 -StatusCode HttpStatus502
Perintah ini menghapus kesalahan kustom kode status http 502 dari pendengar http $listener 01, dan mengembalikan listener yang diperbarui.
Parameter
-DefaultProfile
Kredensial, akun, penyewa, dan langganan yang digunakan untuk komunikasi dengan Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-HttpListener
Pendengar Http Application Gateway
Type: | PSApplicationGatewayHttpListener |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-StatusCode
Kode status kesalahan pelanggan gateway aplikasi.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Input
PSApplicationGatewayHttpListener
Output
PSApplicationGatewayCustomError