Remove-AzApplicationGatewayFrontendIPConfig

從應用程式閘道移除前端IP組態。

Syntax

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

Description

Remove-AzApplicationGatewayFrontendIPConfig Cmdlet 會從 Azure 應用程式閘道移除前端 IP。

範例

範例 1:移除前端 IP 組態

$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
Remove-AzApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw -Name "FrontEndIP02"
Set-AzApplicationGateway -ApplicationGateway $AppGW

第一個命令會取得名為ApplicationGateway01的應用程式閘道,並將它儲存在$AppGw變數中。 第二個命令會從儲存在 $AppGw 的應用程式閘道中移除名為 FrontEndIP02 的前端 IP 組態。 最後一個命令會更新應用程式閘道。

參數

-ApplicationGateway

指定要從中移除前端IP組態的應用程式閘道。

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

指定要移除的前端IP組態名稱。

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

輸入

PSApplicationGateway

輸出

PSApplicationGateway