你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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