Partager via


ManagedRuleDefinition Constructors

Definition

Overloads

ManagedRuleDefinition()

Initializes a new instance of the ManagedRuleDefinition class.

ManagedRuleDefinition(String, String, String, String)

Initializes a new instance of the ManagedRuleDefinition class.

ManagedRuleDefinition()

Initializes a new instance of the ManagedRuleDefinition class.

public ManagedRuleDefinition ();
Public Sub New ()

Applies to

ManagedRuleDefinition(String, String, String, String)

Initializes a new instance of the ManagedRuleDefinition class.

public ManagedRuleDefinition (string ruleId = default, string defaultState = default, string defaultAction = default, string description = default);
new Microsoft.Azure.Management.FrontDoor.Models.ManagedRuleDefinition : string * string * string * string -> Microsoft.Azure.Management.FrontDoor.Models.ManagedRuleDefinition
Public Sub New (Optional ruleId As String = Nothing, Optional defaultState As String = Nothing, Optional defaultAction As String = Nothing, Optional description As String = Nothing)

Parameters

ruleId
String

Identifier for the managed rule.

defaultState
String

Describes the default state for the managed rule. Possible values include: 'Disabled', 'Enabled'

defaultAction
String

Describes the default action to be applied when the managed rule matches. Possible values include: 'Allow', 'Block', 'Log', 'Redirect', 'AnomalyScoring', 'JSChallenge'

description
String

Describes the functionality of the managed rule.

Applies to