ArmCdnModelFactory.RequestMethodMatchCondition Method

Definition

Defines the parameters for RequestMethod match conditions.

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

Parameters

requestMethodOperator
RequestMethodOperator

Describes operator to be matched.

negateCondition
Nullable<Boolean>

Describes if this is negate condition or not.

transforms
IEnumerable<PreTransformCategory>

List of transforms.

matchValues
IEnumerable<RequestMethodMatchConditionMatchValue>

The match value for the condition of the delivery rule.

Returns

A new RequestMethodMatchCondition instance for mocking.

Applies to