ManagedRulesDefinition Class
- java.
lang. Object - com.
microsoft. azure. management. network. ManagedRulesDefinition
- com.
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<Owasp |
exclusions()
Get the Exclusions that are applied on the policy. |
java.util.List<Managed |
managedRuleSets()
Get the managed rule sets that are associated with the policy. |
Managed |
withExclusions(List<OwaspCrsExclusionEntry> exclusions)
Set the Exclusions that are applied on the policy. |
Managed |
withManagedRuleSets(List<ManagedRuleSet> managedRuleSets)
Set the managed rule sets that are associated with the policy. |
Methods inherited from java.lang.Object
Constructor Details
ManagedRulesDefinition
public ManagedRulesDefinition()
Method Details
exclusions
public List
Get the Exclusions that are applied on the policy.
Returns:
managedRuleSets
public List
Get the managed rule sets that are associated with the policy.
Returns:
withExclusions
public ManagedRulesDefinition withExclusions(List
Set the Exclusions that are applied on the policy.
Parameters:
Returns:
withManagedRuleSets
public ManagedRulesDefinition withManagedRuleSets(List
Set the managed rule sets that are associated with the policy.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for