Editar

Compartilhar via


New-AzFrontDoorCdnRuleRemoteAddressConditionObject

Create an in-memory object for DeliveryRuleRemoteAddressCondition.

Syntax

New-AzFrontDoorCdnRuleRemoteAddressConditionObject
   -ParameterOperator <RemoteAddressOperator>
   -Name <MatchVariable>
   [-ParameterMatchValue <String[]>]
   [-ParameterNegateCondition <Boolean>]
   [-ParameterTransform <Transform[]>]
   [<CommonParameters>]

Description

Create an in-memory object for DeliveryRuleRemoteAddressCondition.

Examples

Example 1: Create an in-memory object for DeliveryRuleRemoteAddressCondition

New-AzFrontDoorCdnRuleRemoteAddressConditionObject -Name RemoteAddress -ParameterOperator GeoMatch -ParameterMatchValue BJ -ParameterNegateCondition $False -ParameterTransform Lowercase

Name
----
RemoteAddress

Create an in-memory object for DeliveryRuleRemoteAddressCondition

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

Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.

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:RemoteAddressOperator
Position:Named
Default value:None
Required:True
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

DeliveryRuleRemoteAddressCondition