< Back
New-AzureRmApplicationGatewayUrlPathMapConfig
Post
NAME New-AzureRmApplicationGatewayUrlPathMapConfig
SYNOPSIS
Creates an array of URL path mappings to a backend server pool.
SYNTAX
New-AzureRmApplicationGatewayUrlPathMapConfig [-DefaultBackendAddressPool <PSApplicationGatewayBackendAddressPool>] [-DefaultBackendHttpSettings
<PSApplicationGatewayBackendHttpSettings>] [-DefaultProfile <IAzureContextContainer>] [-DefaultRedirectConfiguration
<PSApplicationGatewayRedirectConfiguration>] -Name <String> -PathRules
<System.Collections.Generic.List`1[Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayPathRule]> [<CommonParameters>]
New-AzureRmApplicationGatewayUrlPathMapConfig [-DefaultBackendAddressPoolId <String>] [-DefaultBackendHttpSettingsId <String>] [-DefaultProfile
<IAzureContextContainer>] [-DefaultRedirectConfigurationId <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.
PARAMETERS
-DefaultBackendAddressPool <PSApplicationGatewayBackendAddressPool>
Specifies the default backend address pool to route in case none of the rules specified in the pathRules parameter match.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultBackendAddressPoolId <String>
Specifies the default backend address pool ID.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultBackendHttpSettings <PSApplicationGatewayBackendHttpSettings>
Specifies the default backend HTTP settings to use in case none of the rules specified in the pathRules parameter match.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultBackendHttpSettingsId <String>
Specifies the default backend HTTP settings ID.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultRedirectConfiguration <PSApplicationGatewayRedirectConfiguration>
Application gateway default RedirectConfiguration
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultRedirectConfigurationId <String>
ID of the application gateway default RedirectConfiguration
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies the URL path map name that this cmdlet creates.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-PathRules <System.Collections.Generic.List`1[Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayPathRule]>
Specifies a list of path rules. Note that the path rules are order sensitive, they are applied in order they are specified.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayUrlPathMap
NOTES
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.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... hmapconfig
Add-AzureRmApplicationGatewayUrlPathMapConfig
Get-AzureRmApplicationGatewayUrlPathMapConfig
Remove-AzureRmApplicationGatewayUrlPathMapConfig
Set-AzureRmApplicationGatewayUrlPathMapConfig
SYNOPSIS
Creates an array of URL path mappings to a backend server pool.
SYNTAX
New-AzureRmApplicationGatewayUrlPathMapConfig [-DefaultBackendAddressPool <PSApplicationGatewayBackendAddressPool>] [-DefaultBackendHttpSettings
<PSApplicationGatewayBackendHttpSettings>] [-DefaultProfile <IAzureContextContainer>] [-DefaultRedirectConfiguration
<PSApplicationGatewayRedirectConfiguration>] -Name <String> -PathRules
<System.Collections.Generic.List`1[Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayPathRule]> [<CommonParameters>]
New-AzureRmApplicationGatewayUrlPathMapConfig [-DefaultBackendAddressPoolId <String>] [-DefaultBackendHttpSettingsId <String>] [-DefaultProfile
<IAzureContextContainer>] [-DefaultRedirectConfigurationId <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.
PARAMETERS
-DefaultBackendAddressPool <PSApplicationGatewayBackendAddressPool>
Specifies the default backend address pool to route in case none of the rules specified in the pathRules parameter match.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultBackendAddressPoolId <String>
Specifies the default backend address pool ID.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultBackendHttpSettings <PSApplicationGatewayBackendHttpSettings>
Specifies the default backend HTTP settings to use in case none of the rules specified in the pathRules parameter match.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultBackendHttpSettingsId <String>
Specifies the default backend HTTP settings ID.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultProfile <IAzureContextContainer>
The credentials, account, tenant, and subscription used for communication with azure.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultRedirectConfiguration <PSApplicationGatewayRedirectConfiguration>
Application gateway default RedirectConfiguration
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-DefaultRedirectConfigurationId <String>
ID of the application gateway default RedirectConfiguration
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Name <String>
Specifies the URL path map name that this cmdlet creates.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-PathRules <System.Collections.Generic.List`1[Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayPathRule]>
Specifies a list of path rules. Note that the path rules are order sensitive, they are applied in order they are specified.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
This cmdlet does not accept any input.
OUTPUTS
Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayUrlPathMap
NOTES
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.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... hmapconfig
Add-AzureRmApplicationGatewayUrlPathMapConfig
Get-AzureRmApplicationGatewayUrlPathMapConfig
Remove-AzureRmApplicationGatewayUrlPathMapConfig
Set-AzureRmApplicationGatewayUrlPathMapConfig