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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure PowerShell