ArmCdnModelFactory.RequestHeaderMatchCondition 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 RequestHeader match conditions.
public static Azure.ResourceManager.Cdn.Models.RequestHeaderMatchCondition RequestHeaderMatchCondition(string selector = default, Azure.ResourceManager.Cdn.Models.RequestHeaderOperator requestHeaderOperator = default, bool? negateCondition = default, System.Collections.Generic.IEnumerable<string> matchValues = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.PreTransformCategory> transforms = default);
static member RequestHeaderMatchCondition : string * Azure.ResourceManager.Cdn.Models.RequestHeaderOperator * Nullable<bool> * seq<string> * seq<Azure.ResourceManager.Cdn.Models.PreTransformCategory> -> Azure.ResourceManager.Cdn.Models.RequestHeaderMatchCondition
Public Shared Function RequestHeaderMatchCondition (Optional selector As String = Nothing, Optional requestHeaderOperator As RequestHeaderOperator = Nothing, Optional negateCondition As Nullable(Of Boolean) = Nothing, Optional matchValues As IEnumerable(Of String) = Nothing, Optional transforms As IEnumerable(Of PreTransformCategory) = Nothing) As RequestHeaderMatchCondition
Parameters
- selector
- String
Name of Header to be matched.
- requestHeaderOperator
- RequestHeaderOperator
Describes operator to be matched.
- matchValues
- IEnumerable<String>
The match value for the condition of the delivery rule.
- transforms
- IEnumerable<PreTransformCategory>
List of transforms.
Returns
A new RequestHeaderMatchCondition instance for mocking.