ArmFrontDoorModelFactory.FrontDoorManagedRuleSetException Method

Definition

public static Azure.ResourceManager.FrontDoor.Models.FrontDoorManagedRuleSetException FrontDoorManagedRuleSetException(Azure.ResourceManager.FrontDoor.Models.ExceptionMatchVariable matchVariable = default, Azure.ResourceManager.FrontDoor.Models.ExceptionSelectorMatchOperator? selectorMatchOperator = default, string selector = default, Azure.ResourceManager.FrontDoor.Models.ExceptionValueMatchOperator valueMatchOperator = default, System.Collections.Generic.IEnumerable<string> matchValues = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.FrontDoor.Models.FrontDoorManagedRuleSetScope> scopes = default);
static member FrontDoorManagedRuleSetException : Azure.ResourceManager.FrontDoor.Models.ExceptionMatchVariable * Nullable<Azure.ResourceManager.FrontDoor.Models.ExceptionSelectorMatchOperator> * string * Azure.ResourceManager.FrontDoor.Models.ExceptionValueMatchOperator * seq<string> * seq<Azure.ResourceManager.FrontDoor.Models.FrontDoorManagedRuleSetScope> -> Azure.ResourceManager.FrontDoor.Models.FrontDoorManagedRuleSetException
Public Shared Function FrontDoorManagedRuleSetException (Optional matchVariable As ExceptionMatchVariable = Nothing, Optional selectorMatchOperator As Nullable(Of ExceptionSelectorMatchOperator) = Nothing, Optional selector As String = Nothing, Optional valueMatchOperator As ExceptionValueMatchOperator = Nothing, Optional matchValues As IEnumerable(Of String) = Nothing, Optional scopes As IEnumerable(Of FrontDoorManagedRuleSetScope) = Nothing) As FrontDoorManagedRuleSetException

Parameters

matchVariable
ExceptionMatchVariable

The variable to be evaluated for excluding the request.

selectorMatchOperator
Nullable<ExceptionSelectorMatchOperator>

Comparison operator to apply to the selector when specifying which elements in the collection this exception applies to.

selector
String

When matchVariable is a collection, operator used to specify which elements in the collection this exception applies to. Currently supported only for RequestHeaderNames.

valueMatchOperator
ExceptionValueMatchOperator

Comparison operator to apply to the value to be matched.

matchValues
IEnumerable<String>

List of values to be matched with.

scopes
IEnumerable<FrontDoorManagedRuleSetScope>

Scope(s) of the exception.

Returns

A new FrontDoorManagedRuleSetException instance for mocking.

Applies to