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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure PowerShell