Editar

Compartilhar via


New-AzCdnDeliveryRuleRequestHeaderConditionObject

Create an in-memory object for DeliveryRuleRequestHeaderCondition.

Syntax

New-AzCdnDeliveryRuleRequestHeaderConditionObject
   -ParameterOperator <RequestHeaderOperator>
   -Name <MatchVariable>
   [-ParameterMatchValue <String[]>]
   [-ParameterNegateCondition <Boolean>]
   [-ParameterSelector <String>]
   [-ParameterTransform <Transform[]>]
   [<CommonParameters>]

Description

Create an in-memory object for DeliveryRuleRequestHeaderCondition.

Examples

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

New-AzCdnDeliveryRuleRequestHeaderConditionObject  -Name RequestHeader -ParameterOperator Equal -ParameterSelector test -ParameterMatchValue test -ParameterNegateCondition $False -ParameterTransform Lowercase

Name
----
RequestHeader

Create an in-memory object for AzureCDN DeliveryRuleRequestHeaderCondition

Parameters

-Name

The name of the condition for the delivery rule.

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

-ParameterMatchValue

The match value for the condition of the delivery rule.

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

-ParameterNegateCondition

Describes if this is negate condition or not.

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

-ParameterOperator

Describes operator to be matched.

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

-ParameterSelector

Name of Header to be matched.

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

-ParameterTransform

List of transforms.

Type:Transform[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

DeliveryRuleRequestHeaderCondition