編輯

共用方式為


New-AzCdnDeliveryRuleResponseHeaderActionObject

Create an in-memory object for DeliveryRuleResponseHeaderAction.

Syntax

New-AzCdnDeliveryRuleResponseHeaderActionObject
   -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 AzureCDN DeliveryRuleResponseHeaderAction

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

Name
----
ModifyResponseHeader

Create an in-memory object for AzureCDN 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