Editar

Partilhar via


New-AzCdnDeliveryRuleRequestHeaderActionObject

Create an in-memory object for DeliveryRuleRequestHeaderAction.

Syntax

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

Description

Create an in-memory object for DeliveryRuleRequestHeaderAction.

Examples

Example 1: Create an in-memory object for AzureCDN DeliveryRuleRequestHeaderAction

New-AzCdnDeliveryRuleRequestHeaderActionObject -Name ModifyRequestHeader -ParameterHeaderAction Append -ParameterHeaderName a1 -ParameterValue a1

Name
----
ModifyRequestHeader

Create an in-memory object for AzureCDN DeliveryRuleRequestHeaderAction

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

DeliveryRuleRequestHeaderAction