ArmNetworkModelFactory.ManagedRulesDefinition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.