New-AzApplicationGatewayRewriteRuleHeaderConfiguration
Creates a rewrite rule header configuration for an application gateway.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
Syntax
New-AzApplicationGatewayRewriteRuleHeaderConfiguration
-HeaderName <String>
[-HeaderValue <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The AzApplicationGatewayRewriteRuleHeaderConfiguration cmdlet creates a rewrite rule action set for an Azure application gateway.
Examples
Example 1
PS C:\> $hc = New-AzApplicationGatewayRewriteRuleHeaderConfiguration -HeaderName abc -HeaderValue def
This command creates a rewrite rule header configuration and stores the result in the variable named $hc.
Parameters
The credentials, account, tenant, and subscription used for communication with Azure.
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Name of the Header to rewrite
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Header value to the set for the given header name. Header will be deleted if this is omitted
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Inputs
None
Outputs
PSApplicationGatewayHeaderConfiguration