Get-AzApplicationGatewayHttpListener
取得應用程式閘道的 HTTP 接聽程式。
Syntax
Get-AzApplicationGatewayHttpListener
[-Name <String>]
-ApplicationGateway <PSApplicationGateway>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzApplicationGatewayHttpListener Cmdlet 會取得應用程式網關的 HTTP 接聽程式。
範例
範例 1:取得特定的 HTTP 接聽程式
$Appgw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$Listener = Get-AzApplicationGatewayHttpListener -Name "Listener01" -ApplicationGateway $Appgw
此命令會取得名為 Listener01 的 HTTP 接聽程式。
範例 2:取得 HTTP 接聽程序清單
$Appgw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$Listeners = Get-AzApplicationGatewayHttpListener -ApplicationGateway $Appgw
此命令會取得 HTTP 接聽程式的清單。
參數
-ApplicationGateway
指定包含 HTTP 接聽程式的應用程式閘道物件。
Type: | PSApplicationGateway |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶。
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
指定這個 Cmdlet 取得的 HTTP 接聽程式名稱。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
輸入
輸出
PSApplicationGatewayHttpListener
相關連結
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應