ArmCdnModelFactory.RemoteAddressMatchCondition Method

Definition

Defines the parameters for RemoteAddress match conditions.

public static Azure.ResourceManager.Cdn.Models.RemoteAddressMatchCondition RemoteAddressMatchCondition(Azure.ResourceManager.Cdn.Models.RemoteAddressOperator remoteAddressOperator = default, bool? negateCondition = default, System.Collections.Generic.IEnumerable<string> matchValues = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.PreTransformCategory> transforms = default);
static member RemoteAddressMatchCondition : Azure.ResourceManager.Cdn.Models.RemoteAddressOperator * Nullable<bool> * seq<string> * seq<Azure.ResourceManager.Cdn.Models.PreTransformCategory> -> Azure.ResourceManager.Cdn.Models.RemoteAddressMatchCondition
Public Shared Function RemoteAddressMatchCondition (Optional remoteAddressOperator As RemoteAddressOperator = Nothing, Optional negateCondition As Nullable(Of Boolean) = Nothing, Optional matchValues As IEnumerable(Of String) = Nothing, Optional transforms As IEnumerable(Of PreTransformCategory) = Nothing) As RemoteAddressMatchCondition

Parameters

remoteAddressOperator
RemoteAddressOperator

Describes operator to be matched.

negateCondition
Nullable<Boolean>

Describes if this is negate condition or not.

matchValues
IEnumerable<String>

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.

transforms
IEnumerable<PreTransformCategory>

List of transforms.

Returns

A new RemoteAddressMatchCondition instance for mocking.

Applies to