ArmNetworkModelFactory.ExclusionManagedRuleGroup Method

Definition

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.

Applies to