ArmNetworkModelFactory.ManagedRuleSetRuleGroup 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.
Defines a managed rule set rule group with legacy string rules.
public static Azure.ResourceManager.Network.Models.ManagedRuleSetRuleGroup ManagedRuleSetRuleGroup(string ruleGroupName = default, System.Collections.Generic.IEnumerable<string> rules = default);
static member ManagedRuleSetRuleGroup : string * seq<string> -> Azure.ResourceManager.Network.Models.ManagedRuleSetRuleGroup
Public Shared Function ManagedRuleSetRuleGroup (Optional ruleGroupName As String = Nothing, Optional rules As IEnumerable(Of String) = Nothing) As ManagedRuleSetRuleGroup
Parameters
- ruleGroupName
- String
Name of the rule group.
- rules
- IEnumerable<String>
Legacy string rules retained for compatibility; these values are not serialized.
Returns
A new ManagedRuleSetRuleGroup instance for mocking.
Remarks
Populate the returned model's RuleIds collection to mock numeric rule identifiers.