Get-AzApplicationGatewayHttpListener
Obtém o ouvinte HTTP de um gateway de aplicativo.
Syntax
Get-AzApplicationGatewayHttpListener
[-Name <String>]
-ApplicationGateway <PSApplicationGateway>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
O cmdlet Get-AzApplicationGatewayHttpListener obtém o ouvinte HTTP de um gateway de aplicativo.
Exemplos
Exemplo 1: Obter um ouvinte HTTP específico
$Appgw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$Listener = Get-AzApplicationGatewayHttpListener -Name "Listener01" -ApplicationGateway $Appgw
Esse comando obtém um ouvinte HTTP chamado Listener01.
Exemplo 2: Obter uma lista de ouvintes HTTP
$Appgw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$Listeners = Get-AzApplicationGatewayHttpListener -ApplicationGateway $Appgw
Este comando obtém uma lista de ouvintes HTTP.
Parâmetros
-ApplicationGateway
Especifica o objeto de gateway de aplicativo que contém o ouvinte HTTP.
Type: | PSApplicationGateway |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
As credenciais, a conta, o locatário e a assinatura usados para comunicação com o azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Especifica o nome do ouvinte HTTP que esse cmdlet obtém.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Entradas
Saídas
PSApplicationGatewayHttpListener