Remove-AzApplicationGatewayUrlPathMapConfig
Removes URL path mappings to a backend server pool.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
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
Specifies the application gateway to which this cmdlet removes URL path map configuration.
| Type: | PSApplicationGateway |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
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 |