ArmNetworkModelFactory.ManagedRulesDefinition Method

Definition

public static Azure.ResourceManager.Network.Models.ManagedRulesDefinition ManagedRulesDefinition(System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ExceptionEntry> exceptions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.OwaspCrsExclusionEntry> exclusions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ManagedRuleSet> managedRuleSets = default);
static member ManagedRulesDefinition : seq<Azure.ResourceManager.Network.Models.ExceptionEntry> * seq<Azure.ResourceManager.Network.Models.OwaspCrsExclusionEntry> * seq<Azure.ResourceManager.Network.Models.ManagedRuleSet> -> Azure.ResourceManager.Network.Models.ManagedRulesDefinition
Public Shared Function ManagedRulesDefinition (Optional exceptions As IEnumerable(Of ExceptionEntry) = Nothing, Optional exclusions As IEnumerable(Of OwaspCrsExclusionEntry) = Nothing, Optional managedRuleSets As IEnumerable(Of ManagedRuleSet) = Nothing) As ManagedRulesDefinition

Parameters

exceptions
IEnumerable<ExceptionEntry>

The exceptions that are applied on the policy.

exclusions
IEnumerable<OwaspCrsExclusionEntry>

The Exclusions that are applied on the policy.

managedRuleSets
IEnumerable<ManagedRuleSet>

The managed rule sets that are associated with the policy.

Returns

A new ManagedRulesDefinition instance for mocking.

Applies to