ArmCdnModelFactory.RequestMethodMatchCondition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- 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.