WebApplicationFirewallPolicy 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
WebApplicationFirewallPolicy() |
Initializes a new instance of the WebApplicationFirewallPolicy class. |
WebApplicationFirewallPolicy(ManagedRulesDefinition, String, String, String, String, IDictionary<String,String>, PolicySettings, IList<WebApplicationFirewallCustomRule>, IList<ApplicationGateway>, String, String, IList<SubResource>, IList<SubResource>, String) |
Initializes a new instance of the WebApplicationFirewallPolicy class. |
WebApplicationFirewallPolicy()
Initializes a new instance of the WebApplicationFirewallPolicy class.
public WebApplicationFirewallPolicy ();
Public Sub New ()
Applies to
WebApplicationFirewallPolicy(ManagedRulesDefinition, String, String, String, String, IDictionary<String,String>, PolicySettings, IList<WebApplicationFirewallCustomRule>, IList<ApplicationGateway>, String, String, IList<SubResource>, IList<SubResource>, String)
Initializes a new instance of the WebApplicationFirewallPolicy class.
public WebApplicationFirewallPolicy (Microsoft.Azure.Management.Network.Models.ManagedRulesDefinition managedRules, string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Network.Models.PolicySettings policySettings = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.WebApplicationFirewallCustomRule> customRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGateway> applicationGateways = default, string provisioningState = default, string resourceState = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> httpListeners = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> pathBasedRules = default, string etag = default);
new Microsoft.Azure.Management.Network.Models.WebApplicationFirewallPolicy : Microsoft.Azure.Management.Network.Models.ManagedRulesDefinition * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Network.Models.PolicySettings * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.WebApplicationFirewallCustomRule> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.ApplicationGateway> * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * string -> Microsoft.Azure.Management.Network.Models.WebApplicationFirewallPolicy
Public Sub New (managedRules As ManagedRulesDefinition, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional policySettings As PolicySettings = Nothing, Optional customRules As IList(Of WebApplicationFirewallCustomRule) = Nothing, Optional applicationGateways As IList(Of ApplicationGateway) = Nothing, Optional provisioningState As String = Nothing, Optional resourceState As String = Nothing, Optional httpListeners As IList(Of SubResource) = Nothing, Optional pathBasedRules As IList(Of SubResource) = Nothing, Optional etag As String = Nothing)
Parameters
- managedRules
- ManagedRulesDefinition
Describes the managedRules structure.
- id
- String
Resource ID.
- name
- String
Resource name.
- type
- String
Resource type.
- location
- String
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
- policySettings
- PolicySettings
The PolicySettings for policy.
- customRules
- IList<WebApplicationFirewallCustomRule>
The custom rules inside the policy.
- applicationGateways
- IList<ApplicationGateway>
A collection of references to application gateways.
- provisioningState
- String
The provisioning state of the web application firewall policy resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
- resourceState
- String
Resource status of the policy.
- httpListeners
- IList<SubResource>
A collection of references to application gateway http listeners.
- pathBasedRules
- IList<SubResource>
A collection of references to application gateway path rules.
- etag
- String
A unique read-only string that changes whenever the resource is updated.
Applies to
Azure SDK for .NET