ArmNetworkModelFactory.WebApplicationFirewallPolicyData Method
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.
public static Azure.ResourceManager.Network.WebApplicationFirewallPolicyData WebApplicationFirewallPolicyData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Network.Models.PolicySettings policySettings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.WebApplicationFirewallCustomRule> customRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.ApplicationGatewayData> applicationGateways = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Network.Models.WebApplicationFirewallPolicyResourceState? resourceState = default, Azure.ResourceManager.Network.Models.ManagedRulesDefinition managedRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> httpListeners = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.WritableSubResource> pathBasedRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> applicationGatewayForContainers = default, Azure.ResourceManager.Network.Models.WebApplicationFirewallPolicyTier? tier = default, Azure.ETag? eTag = default);
static member WebApplicationFirewallPolicyData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Network.Models.PolicySettings * seq<Azure.ResourceManager.Network.Models.WebApplicationFirewallCustomRule> * seq<Azure.ResourceManager.Network.ApplicationGatewayData> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Azure.ResourceManager.Network.Models.WebApplicationFirewallPolicyResourceState> * Azure.ResourceManager.Network.Models.ManagedRulesDefinition * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Resources.Models.WritableSubResource> * seq<Azure.ResourceManager.Resources.Models.SubResource> * Nullable<Azure.ResourceManager.Network.Models.WebApplicationFirewallPolicyTier> * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.WebApplicationFirewallPolicyData
Public Shared Function WebApplicationFirewallPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional policySettings As PolicySettings = Nothing, Optional customRules As IEnumerable(Of WebApplicationFirewallCustomRule) = Nothing, Optional applicationGateways As IEnumerable(Of ApplicationGatewayData) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional resourceState As Nullable(Of WebApplicationFirewallPolicyResourceState) = Nothing, Optional managedRules As ManagedRulesDefinition = Nothing, Optional httpListeners As IEnumerable(Of WritableSubResource) = Nothing, Optional pathBasedRules As IEnumerable(Of WritableSubResource) = Nothing, Optional applicationGatewayForContainers As IEnumerable(Of SubResource) = Nothing, Optional tier As Nullable(Of WebApplicationFirewallPolicyTier) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As WebApplicationFirewallPolicyData
Parameters
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- location
- Nullable<AzureLocation>
Resource location.
- tags
- IDictionary<String,String>
Resource tags.
- policySettings
- PolicySettings
The PolicySettings for policy.
- customRules
- IEnumerable<WebApplicationFirewallCustomRule>
The custom rules inside the policy.
- applicationGateways
- IEnumerable<ApplicationGatewayData>
A collection of references to application gateways.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the web application firewall policy resource.
- resourceState
- Nullable<WebApplicationFirewallPolicyResourceState>
Resource status of the policy.
- managedRules
- ManagedRulesDefinition
Describes the managedRules structure.
- httpListeners
- IEnumerable<WritableSubResource>
A collection of references to application gateway http listeners.
- pathBasedRules
- IEnumerable<WritableSubResource>
A collection of references to application gateway path rules.
- applicationGatewayForContainers
- IEnumerable<SubResource>
A collection of references to application gateway for containers.
Tier of a web application firewall policy.
Returns
A new WebApplicationFirewallPolicyData instance for mocking.