Modifier

Partager via


New-AzFrontDoorCdnRuleResponseHeaderActionObject

Create an in-memory object for DeliveryRuleResponseHeaderAction.

Syntax

New-AzFrontDoorCdnRuleResponseHeaderActionObject
   -ParameterHeaderAction <HeaderAction>
   -ParameterHeaderName <String>
   -Name <DeliveryRuleAction>
   [-ParameterValue <String>]
   [<CommonParameters>]

Description

Create an in-memory object for DeliveryRuleResponseHeaderAction.

Examples

Example 1: Create an in-memory object for DeliveryRuleResponseHeaderAction

New-AzFrontDoorCdnRuleResponseHeaderActionObject -Name ModifyResponseHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1

Name
----
ModifyResponseHeader

Create an in-memory object for DeliveryRuleResponseHeaderAction

Parameters

-Name

The name of the action for the delivery rule.

Type:DeliveryRuleAction
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ParameterHeaderAction

Action to perform.

Type:HeaderAction
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ParameterHeaderName

Name of the header to modify.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ParameterValue

Value for the specified action.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

DeliveryRuleResponseHeaderAction