WebApplicationFirewallCustomRule 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
WebApplicationFirewallCustomRule() |
Initializes a new instance of the WebApplicationFirewallCustomRule class. |
WebApplicationFirewallCustomRule(Int32, WebApplicationFirewallRuleType, IList<MatchCondition>, WebApplicationFirewallAction, String, String) |
Initializes a new instance of the WebApplicationFirewallCustomRule class. |
WebApplicationFirewallCustomRule()
Initializes a new instance of the WebApplicationFirewallCustomRule class.
public WebApplicationFirewallCustomRule ();
Public Sub New ()
Applies to
WebApplicationFirewallCustomRule(Int32, WebApplicationFirewallRuleType, IList<MatchCondition>, WebApplicationFirewallAction, String, String)
Initializes a new instance of the WebApplicationFirewallCustomRule class.
public WebApplicationFirewallCustomRule (int priority, Microsoft.Azure.Management.Network.Fluent.Models.WebApplicationFirewallRuleType ruleType, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.MatchCondition> matchConditions, Microsoft.Azure.Management.Network.Fluent.Models.WebApplicationFirewallAction action, string name = default, string etag = default);
new Microsoft.Azure.Management.Network.Fluent.Models.WebApplicationFirewallCustomRule : int * Microsoft.Azure.Management.Network.Fluent.Models.WebApplicationFirewallRuleType * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.MatchCondition> * Microsoft.Azure.Management.Network.Fluent.Models.WebApplicationFirewallAction * string * string -> Microsoft.Azure.Management.Network.Fluent.Models.WebApplicationFirewallCustomRule
Public Sub New (priority As Integer, ruleType As WebApplicationFirewallRuleType, matchConditions As IList(Of MatchCondition), action As WebApplicationFirewallAction, Optional name As String = Nothing, Optional etag As String = Nothing)
Parameters
- priority
- Int32
Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- ruleType
- WebApplicationFirewallRuleType
Describes type of rule. Possible values include: 'MatchRule', 'Invalid'
- matchConditions
- IList<MatchCondition>
List of match conditions.
- action
- WebApplicationFirewallAction
Type of Actions. Possible values include: 'Allow', 'Block', 'Log'
- name
- String
The name of the resource that is unique within a policy. This name can be used to access the resource.
- etag
- String
A unique read-only string that changes whenever the resource is updated.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應