Share via


ManagedRuleOverride Constructors

Definition

Overloads

ManagedRuleOverride()

Initializes a new instance of the ManagedRuleOverride class.

ManagedRuleOverride(String, String, String)

Initializes a new instance of the ManagedRuleOverride class.

ManagedRuleOverride()

Initializes a new instance of the ManagedRuleOverride class.

public ManagedRuleOverride ();
Public Sub New ()

Applies to

ManagedRuleOverride(String, String, String)

Initializes a new instance of the ManagedRuleOverride class.

public ManagedRuleOverride (string ruleId, string state = default, string action = default);
new Microsoft.Azure.Management.Network.Models.ManagedRuleOverride : string * string * string -> Microsoft.Azure.Management.Network.Models.ManagedRuleOverride
Public Sub New (ruleId As String, Optional state As String = Nothing, Optional action As String = Nothing)

Parameters

ruleId
String

Identifier for the managed rule.

state
String

The state of the managed rule. Defaults to Disabled if not specified. Possible values include: 'Disabled', 'Enabled'

action
String

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

Applies to