OwaspCrsExclusionEntry Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. OwaspCrsExclusionEntry
- com.
Implements
public final class OwaspCrsExclusionEntry
implements JsonSerializable<OwaspCrsExclusionEntry>
Allow to exclude some variable satisfy the condition for the WAF check.
Constructor Summary
Constructor | Description |
---|---|
OwaspCrsExclusionEntry() |
Creates an instance of Owasp |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Exclusion |
exclusionManagedRuleSets()
Get the exclusion |
static
Owasp |
fromJson(JsonReader jsonReader)
Reads an instance of Owasp |
Owasp |
matchVariable()
Get the match |
String |
selector()
Get the selector property: When match |
Owasp |
selectorMatchOperator()
Get the selector |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Owasp |
withExclusionManagedRuleSets(List<ExclusionManagedRuleSet> exclusionManagedRuleSets)
Set the exclusion |
Owasp |
withMatchVariable(OwaspCrsExclusionEntryMatchVariable matchVariable)
Set the match |
Owasp |
withSelector(String selector)
Set the selector property: When match |
Owasp |
withSelectorMatchOperator(OwaspCrsExclusionEntrySelectorMatchOperator selectorMatchOperator)
Set the selector |
Methods inherited from java.lang.Object
Constructor Details
OwaspCrsExclusionEntry
public OwaspCrsExclusionEntry()
Creates an instance of OwaspCrsExclusionEntry class.
Method Details
exclusionManagedRuleSets
public List
Get the exclusionManagedRuleSets property: The managed rule sets that are associated with the exclusion.
Returns:
fromJson
public static OwaspCrsExclusionEntry fromJson(JsonReader jsonReader)
Reads an instance of OwaspCrsExclusionEntry from the JsonReader.
Parameters:
Returns:
Throws:
matchVariable
public OwaspCrsExclusionEntryMatchVariable matchVariable()
Get the matchVariable property: The variable to be excluded.
Returns:
selector
public String selector()
Get the selector property: When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
Returns:
selectorMatchOperator
public OwaspCrsExclusionEntrySelectorMatchOperator selectorMatchOperator()
Get the selectorMatchOperator property: When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
Returns:
toJson
validate
public void validate()
Validates the instance.
withExclusionManagedRuleSets
public OwaspCrsExclusionEntry withExclusionManagedRuleSets(List
Set the exclusionManagedRuleSets property: The managed rule sets that are associated with the exclusion.
Parameters:
Returns:
withMatchVariable
public OwaspCrsExclusionEntry withMatchVariable(OwaspCrsExclusionEntryMatchVariable matchVariable)
Set the matchVariable property: The variable to be excluded.
Parameters:
Returns:
withSelector
public OwaspCrsExclusionEntry withSelector(String selector)
Set the selector property: When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
Parameters:
Returns:
withSelectorMatchOperator
public OwaspCrsExclusionEntry withSelectorMatchOperator(OwaspCrsExclusionEntrySelectorMatchOperator selectorMatchOperator)
Set the selectorMatchOperator property: When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
Parameters:
Returns:
Applies to
Azure SDK for Java