New-AzFrontDoorHeaderActionObject
Create an in-memory object for HeaderAction.
Syntax
Default (Default)
New-AzFrontDoorHeaderActionObject
-HeaderActionType <String>
-HeaderName <String>
[-Value <String>]
[<CommonParameters>]
Description
Create an in-memory object for HeaderAction.
Examples
Example 1 :Creates PSHeaderAction object for the creation of PSRulesEngineAction object.
New-AzFrontDoorHeaderActionObject -HeaderName headername -HeaderActionType Append
HeaderActionType HeaderName Value
---------------- ---------- -----
Append headername
Creates PSHeaderAction object for the creation of PSRulesEngineAction object.
Parameters
-HeaderActionType
Which type of manipulation to apply to the header.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-HeaderName
The name of the header this action will apply to.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Value
The value to update the given header name with. This value is not used if the actionType is Delete.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.