Remove-AzApplicationGatewayIPConfiguration
從應用程式閘道移除IP組態。
Syntax
Remove-AzApplicationGatewayIPConfiguration
-Name <String>
-ApplicationGateway <PSApplicationGateway>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Remove-AzApplicationGatewayIPConfiguration Cmdlet 會從 Azure 應用程式閘道移除 IP 組態。
範例
範例 1:從 Azure 應用程式閘道移除 IP 組態
$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
Remove-AzApplicationGatewayIPConfiguration -ApplicationGateway $AppGw -Name "Subnet02"
Set-AzApplicationGateway -ApplicationGateway $AppGW
第一個命令會取得應用程式閘道,並將它儲存在$AppGw變數中。 第二個命令會從儲存在 $AppGw 的應用程式閘道中移除名為 Subnet02 的 IP 組態。 最後一個命令會更新應用程式閘道。
參數
-ApplicationGateway
指定要從中移除IP組態的應用程式閘道。
類型: | PSApplicationGateway |
Position: | Named |
預設值: | None |
必要: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
指定要移除的IP組態名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
輸入
輸出
相關連結
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應