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

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

Syntax

New-AzureRmApplicationGatewayUrlPathMapConfig
   [-DefaultBackendAddressPool <PSApplicationGatewayBackendAddressPool>]
   [-DefaultBackendHttpSettings <PSApplicationGatewayBackendHttpSettings>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   -Name <String>
   -PathRules <System.Collections.Generic.List`1[Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayPathRule]>
   [<CommonParameters>]
New-AzureRmApplicationGatewayUrlPathMapConfig
   [-DefaultBackendAddressPoolId <String>]
   [-DefaultBackendHttpSettingsId <String>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   -Name <String>
   -PathRules <System.Collections.Generic.List`1[Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayPathRule]>
   [<CommonParameters>]

Description

The New-AzureRmApplicationGatewayUrlPathMapConfig cmdlet creates an array of URL path mappings to a backend server pool.

Examples

Example 1: Create an array of URL path mappings to a backend server pool

PS C:\>New-AzureRmApplicationGatewayUrlPathMapConfig -Name $UrlPathMapName -PathRules $VideoPathRule, $ImagePathRule -DefaultBackendAddressPool $Pool -DefaultBackendHttpSettings $PoolSetting02

This command creates an array of URL path mappings to a backend server pool.

Required Parameters

-Name

Specifies the URL path map name that this cmdlet creates.

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

Specifies a list of path rules. Note that 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
-InformationAction

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

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