Udostępnij za pośrednictwem


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 enabledState = default, string action = default);
new Microsoft.Azure.Management.Cdn.Models.ManagedRuleOverride : string * string * string -> Microsoft.Azure.Management.Cdn.Models.ManagedRuleOverride
Public Sub New (ruleId As String, Optional enabledState As String = Nothing, Optional action As String = Nothing)

Parameters

ruleId
String

Identifier for the managed rule.

enabledState
String

Describes if the managed rule is in enabled or disabled state. 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: 'Allow', 'Block', 'Log', 'Redirect'

Applies to