New-AzFrontDoorHeaderActionObject
Create PSHeaderAction object.
Syntax
New-AzFrontDoorHeaderActionObject
-HeaderName <String>
-HeaderActionType <PSHeaderActionType>
[-Value <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Creates PSHeaderAction object for the creation of PSRulesEngineAction object.
Examples
Example 1
New-AzFrontDoorHeaderActionObject -HeaderName headername -HeaderActionType Append
HeaderName HeaderActionType Value
---------- ---------------- -----
headername Append
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 |
-HeaderActionType
Which type of manipulation to apply to the header.
Type: | PSHeaderActionType |
Accepted values: | Append, Delete, Overwrite |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-HeaderName
The name of the header this action will apply to.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Value
The value to update the given header name with. This value is not used if the actionType is Delete.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure PowerShell