ArmFrontDoorModelFactory.ManagedRuleGroupDefinition Method

Definition

Initializes a new instance of ManagedRuleGroupDefinition.

public static Azure.ResourceManager.FrontDoor.Models.ManagedRuleGroupDefinition ManagedRuleGroupDefinition (string ruleGroupName = default, string description = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.FrontDoor.Models.ManagedRuleDefinition> rules = default);
static member ManagedRuleGroupDefinition : string * string * seq<Azure.ResourceManager.FrontDoor.Models.ManagedRuleDefinition> -> Azure.ResourceManager.FrontDoor.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