Remove-​Azure​Rm​Application​Gateway​Redirect​Configuration

Removes a redirect configuration from an existing Application Gateway.

Syntax

Remove-AzureRmApplicationGatewayRedirectConfiguration
      -ApplicationGateway <PSApplicationGateway>
      -Name <String>
      [<CommonParameters>]

Description

The Remove-AzureRmApplicationGatewayRedirectConfiguration cmdlet removes a redirect configuration from an existing Application Gateway.

Examples

Example 1

PS C:\>$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
PS C:\>$AppGw = Remove-AzureRmApplicationGatewayRedirectConfiguration -ApplicationGateway $AppGw -Name "Redirect01"

The first command gets an application gateway and stores it in the $AppGw variable.

The second command removes the redirect configuration named Redirect01 from the application gateway stored in $AppGw.

Required Parameters

-ApplicationGateway

The applicationGateway

Type:PSApplicationGateway
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Name

The name of the redirect configuration

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

Inputs

Microsoft.Azure.Commands.Network.Models.PSApplicationGateway

Outputs

Microsoft.Azure.Commands.Network.Models.PSApplicationGateway