편집

다음을 통해 공유


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

$appgw = Get-AzApplicationGateway -ResourceGroupName "rg" -Name "appGwName"
$appgw = Remove-AzApplicationGatewayUrlPathMapConfig -ApplicationGateway $appgw -Name "map01"
$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
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

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

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
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
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

PSApplicationGateway

Outputs

PSApplicationGateway