ArmNetworkModelFactory.HeaderValueMatcher 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.
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.
Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison.
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.