ArmNetworkModelFactory.ExclusionManagedRuleGroup 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.ExclusionManagedRuleGroup ExclusionManagedRuleGroup(string ruleGroupName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ExclusionManagedRule> rules = default);
static member ExclusionManagedRuleGroup : string * seq<Azure.ResourceManager.Network.Models.ExclusionManagedRule> -> Azure.ResourceManager.Network.Models.ExclusionManagedRuleGroup
Public Shared Function ExclusionManagedRuleGroup (Optional ruleGroupName As String = Nothing, Optional rules As IEnumerable(Of ExclusionManagedRule) = Nothing) As ExclusionManagedRuleGroup
Parameters
- ruleGroupName
- String
The managed rule group for exclusion.
- rules
- IEnumerable<ExclusionManagedRule>
List of rules that will be excluded. If none specified, all rules in the group will be excluded.
Returns
A new ExclusionManagedRuleGroup instance for mocking.