Remove-AzApplicationGatewayUrlPathMapConfig

Removes URL path mappings to a backend server pool.

Syntax

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

Description

The Remove-AzApplicationGatewayUrlPathMapConfig cmdlet removes URL path mappings to a backend server pool.

Examples

Example 1: Remove an URL path mapping from an application gateway

PS C:\> $appgw = Get-AzApplicationGateway -ResourceGroupName "rg" -Name "appGwName"
PS C:\> $appgw = Remove-AzApplicationGatewayUrlPathMapConfig -ApplicationGateway $appgw -Name "map01"
PS C:\> $appgw = Set-AzApplicationGateway -ApplicationGateway $appgw

The first command gets the application gateway named appGwName and stores the result in the $appgw variable. The second command removes the URL path mapping named map01 from the application gateway. The third command updates the application gateway.

Parameters

-ApplicationGateway

Specifies the application gateway to which this cmdlet removes URL path map configuration.

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

The credentials, account, tenant, and subscription used for communication with azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the URL path map name that this cmdlet removes from the backend server.

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

Inputs

PSApplicationGateway

Outputs

PSApplicationGateway