ArmCdnModelFactory.ManagedRuleGroupDefinition 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.
Initializes a new instance of ManagedRuleGroupDefinition.
public static Azure.ResourceManager.Cdn.Models.ManagedRuleGroupDefinition ManagedRuleGroupDefinition (string ruleGroupName = default, string description = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.ManagedRuleDefinition> rules = default);
static member ManagedRuleGroupDefinition : string * string * seq<Azure.ResourceManager.Cdn.Models.ManagedRuleDefinition> -> Azure.ResourceManager.Cdn.Models.ManagedRuleGroupDefinition
Public Shared Function ManagedRuleGroupDefinition (Optional ruleGroupName As String = Nothing, Optional description As String = Nothing, Optional rules As IEnumerable(Of ManagedRuleDefinition) = Nothing) As ManagedRuleGroupDefinition
Parameters
- ruleGroupName
- String
Name of the managed rule group.
- description
- String
Description of the managed rule group.
- rules
- IEnumerable<ManagedRuleDefinition>
List of rules within the managed rule group.
Returns
A new ManagedRuleGroupDefinition instance for mocking.