ArmNetworkModelFactory.HeaderValueMatcher Method

Definition

public static Azure.ResourceManager.Network.Models.HeaderValueMatcher HeaderValueMatcher(string pattern = default, bool? ignoreCase = default, bool? negate = default);
static member HeaderValueMatcher : string * Nullable<bool> * Nullable<bool> -> Azure.ResourceManager.Network.Models.HeaderValueMatcher
Public Shared Function HeaderValueMatcher (Optional pattern As String = Nothing, Optional ignoreCase As Nullable(Of Boolean) = Nothing, Optional negate As Nullable(Of Boolean) = Nothing) As HeaderValueMatcher

Parameters

pattern
String

The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite.

ignoreCase
Nullable<Boolean>

Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.

negate
Nullable<Boolean>

Setting this value as truth will force to check the negation of the condition given by the user in the pattern field.

Returns

A new HeaderValueMatcher instance for mocking.

Applies to