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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure PowerShell