New-AzApplicationGatewayRewriteRuleActionSet
Creates a rewrite rule action set for an application gateway.
Syntax
New-AzApplicationGatewayRewriteRuleActionSet
[-RequestHeaderConfiguration <System.Collections.Generic.List`1[Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayHeaderConfiguration]>]
[-ResponseHeaderConfiguration <System.Collections.Generic.List`1[Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayHeaderConfiguration]>]
[-UrlConfiguration <PSApplicationGatewayUrlConfiguration>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The New-AzApplicationGatewayRewriteRuleActionSet cmdlet creates a rewrite rule action set for an Azure application gateway.
Examples
Example 1
$action = New-AzApplicationGatewayRewriteRuleActionSet -ResponseHeaderConfiguration $hc -UrlConfiguration $urlConfiguration
This command creates a rewrite rule action set and stores the result in the variable named $action.
Parameters
-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 |
-RequestHeaderConfiguration
List of request header configurations
Type: | List<T>[PSApplicationGatewayHeaderConfiguration] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResponseHeaderConfiguration
List of response header configurations
Type: | List<T>[PSApplicationGatewayHeaderConfiguration] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UrlConfiguration
Url Configuration for action set
Type: | PSApplicationGatewayUrlConfiguration |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
PSApplicationGatewayRewriteRuleActionSet
Related Links
- Add-AzApplicationGatewayRewriteRuleSet
- Get-AzApplicationGatewayRewriteRuleSet
- New-AzApplicationGatewayRewriteRuleSet
- Remove-AzApplicationGatewayRewriteRuleSet
- Set-AzApplicationGatewayRewriteRuleSet
- New-AzApplicationGatewayRewriteRule
- New-AzApplicationGatewayRewriteRuleHeaderConfiguration
- New-AzApplicationGatewayRewriteRuleUrlConfiguration
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure PowerShell