ManagedRulesDefinition Class

  • java.lang.Object
    • com.microsoft.azure.management.network.ManagedRulesDefinition

public class ManagedRulesDefinition

Allow to exclude some variable satisfy the condition for the WAF check.

Constructor Summary

Constructor Description
ManagedRulesDefinition()

Method Summary

Modifier and Type Method and Description
java.util.List<OwaspCrsExclusionEntry> exclusions()

Get the Exclusions that are applied on the policy.

java.util.List<ManagedRuleSet> managedRuleSets()

Get the managed rule sets that are associated with the policy.

ManagedRulesDefinition withExclusions(List<OwaspCrsExclusionEntry> exclusions)

Set the Exclusions that are applied on the policy.

ManagedRulesDefinition withManagedRuleSets(List<ManagedRuleSet> managedRuleSets)

Set the managed rule sets that are associated with the policy.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ManagedRulesDefinition

public ManagedRulesDefinition()

Method Details

exclusions

public List exclusions()

Get the Exclusions that are applied on the policy.

Returns:

the exclusions value

managedRuleSets

public List managedRuleSets()

Get the managed rule sets that are associated with the policy.

Returns:

the managedRuleSets value

withExclusions

public ManagedRulesDefinition withExclusions(List exclusions)

Set the Exclusions that are applied on the policy.

Parameters:

exclusions - the exclusions value to set

Returns:

the ManagedRulesDefinition object itself.

withManagedRuleSets

public ManagedRulesDefinition withManagedRuleSets(List managedRuleSets)

Set the managed rule sets that are associated with the policy.

Parameters:

managedRuleSets - the managedRuleSets value to set

Returns:

the ManagedRulesDefinition object itself.

Applies to