Share via


ArmCdnModelFactory.ManagedRuleGroupDefinition Method

Definition

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.

Applies to