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

New-AzCdnDeliveryRuleRemoteAddressConditionObject

Create an in-memory object for DeliveryRuleRemoteAddressCondition.

Syntax

New-AzCdnDeliveryRuleRemoteAddressConditionObject
   -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 AzureCDN DeliveryRuleRemoteAddressCondition

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

Name
----
RemoteAddress

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