Share via


Remove-AzApplicationGatewayListener

Eltávolít egy TCP\TLS-figyelőt egy application gatewayről.

Syntax

Remove-AzApplicationGatewayListener
      -Name <String>
      -ApplicationGateway <PSApplicationGateway>
      [-DefaultProfile <IAzureContextContainer>]
      [<CommonParameters>]

Description

A Remove-AzApplicationGatewayListener parancsmag eltávolít egy TCP\TLS-figyelőt egy Azure-alkalmazásátjáróból.

Példák

1. példa: Application Gateway TCP\TLS-figyelő eltávolítása

$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
Remove-AzApplicationGatewayListener -ApplicationGateway $AppGw -Name "Listener02"
Set-AzApplicationGateway -ApplicationGateway $AppGW

Az első parancs lekéri az Application Gatewayt, és a $AppGw változóban tárolja. A második parancs eltávolítja a Figyelő02 nevű TCP\TLS-figyelőt a $AppGw tárolt alkalmazásátjáróból. Az utolsó parancs frissíti az Application Gatewayt.

Paraméterek

-ApplicationGateway

Az applicationGateway

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

-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

-Name

Az Application Gateway figyelőjének neve

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

Bevitelek

PSApplicationGateway

Kimenetek

PSApplicationGateway