ManagedRuleOverride Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET