Add-​Azure​Rm​Application​Gateway​Url​Path​Map​Config

Adds an array of URL path mappings to a backend server pool.

Syntax

Add-AzureRmApplicationGatewayUrlPathMapConfig
   -ApplicationGateway <PSApplicationGateway>
   [-DefaultBackendAddressPool <PSApplicationGatewayBackendAddressPool>]
   [-DefaultBackendHttpSettings <PSApplicationGatewayBackendHttpSettings>]
   [-DefaultRedirectConfiguration <PSApplicationGatewayRedirectConfiguration>]
   -Name <String>
   -PathRules <System.Collections.Generic.List`1[Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayPathRule]>
   [<CommonParameters>]
Add-AzureRmApplicationGatewayUrlPathMapConfig
   -ApplicationGateway <PSApplicationGateway>
   [-DefaultBackendAddressPoolId <String>]
   [-DefaultBackendHttpSettingsId <String>]
   [-DefaultRedirectConfigurationId <String>]
   -Name <String>
   -PathRules <System.Collections.Generic.List`1[Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayPathRule]>
   [<CommonParameters>]

Description

The Add-AzureRmApplicationGatewayUrlPathMapConfig cmdlet adds an array of URL path mappings to a back end server pool.

Examples

1:

Required Parameters

-ApplicationGateway

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

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

Specifies the URL path map name that this cmdlet adds to the backend server pool.

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

Specifies a list of path rules. The path rules are order sensitive, they are applied in order they are specified.

Type:System.Collections.Generic.List`1[Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayPathRule]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DefaultBackendAddressPool

Specifies the default backend address pool to route in case none of the rules specified in the pathRules parameter match.

Type:PSApplicationGatewayBackendAddressPool
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultBackendAddressPoolId

Specifies the default backend address pool ID.

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

Specifies the default backend HTTP settings to use in case none of the rules specified in the pathRules parameter match.

Type:PSApplicationGatewayBackendHttpSettings
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultBackendHttpSettingsId

Specifies the default backend HTTP settings ID.

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

Application gateway default RedirectConfiguration

Type:PSApplicationGatewayRedirectConfiguration
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultRedirectConfigurationId

ID of the application gateway default RedirectConfiguration

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