Partilhar via


ArmFrontDoorModelFactory.FrontDoorWebApplicationFirewallPolicyData Method

Definition

Initializes a new instance of FrontDoorWebApplicationFirewallPolicyData.

public static Azure.ResourceManager.FrontDoor.FrontDoorWebApplicationFirewallPolicyData FrontDoorWebApplicationFirewallPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ETag? etag = default, Azure.ResourceManager.FrontDoor.Models.FrontDoorSkuName? skuName = default, Azure.ResourceManager.FrontDoor.Models.FrontDoorWebApplicationFirewallPolicySettings policySettings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.FrontDoor.Models.WebApplicationCustomRule> rules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.FrontDoor.Models.ManagedRuleSet> managedRuleSets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> frontendEndpointLinks = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> routingRuleLinks = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> securityPolicyLinks = default, string provisioningState = default, Azure.ResourceManager.FrontDoor.Models.FrontDoorWebApplicationFirewallPolicyResourceState? resourceState = default);
static member FrontDoorWebApplicationFirewallPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.FrontDoor.Models.FrontDoorSkuName> * Azure.ResourceManager.FrontDoor.Models.FrontDoorWebApplicationFirewallPolicySettings * seq<Azure.ResourceManager.FrontDoor.Models.WebApplicationCustomRule> * seq<Azure.ResourceManager.FrontDoor.Models.ManagedRuleSet> * seq<Azure.ResourceManager.Resources.Models.SubResource> * seq<Azure.ResourceManager.Resources.Models.SubResource> * seq<Azure.ResourceManager.Resources.Models.SubResource> * string * Nullable<Azure.ResourceManager.FrontDoor.Models.FrontDoorWebApplicationFirewallPolicyResourceState> -> Azure.ResourceManager.FrontDoor.FrontDoorWebApplicationFirewallPolicyData
Public Shared Function FrontDoorWebApplicationFirewallPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional skuName As Nullable(Of FrontDoorSkuName) = Nothing, Optional policySettings As FrontDoorWebApplicationFirewallPolicySettings = Nothing, Optional rules As IEnumerable(Of WebApplicationCustomRule) = Nothing, Optional managedRuleSets As IEnumerable(Of ManagedRuleSet) = Nothing, Optional frontendEndpointLinks As IEnumerable(Of SubResource) = Nothing, Optional routingRuleLinks As IEnumerable(Of SubResource) = Nothing, Optional securityPolicyLinks As IEnumerable(Of SubResource) = Nothing, Optional provisioningState As String = Nothing, Optional resourceState As Nullable(Of FrontDoorWebApplicationFirewallPolicyResourceState) = Nothing) As FrontDoorWebApplicationFirewallPolicyData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

etag
Nullable<ETag>

Gets a unique read-only string that changes whenever the resource is updated.

skuName
Nullable<FrontDoorSkuName>

The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.

policySettings
FrontDoorWebApplicationFirewallPolicySettings

Describes settings for the policy.

rules
IEnumerable<WebApplicationCustomRule>

Describes custom rules inside the policy.

managedRuleSets
IEnumerable<ManagedRuleSet>

Describes managed rules inside the policy.

frontendEndpointLinks
IEnumerable<SubResource>

Describes Frontend Endpoints associated with this Web Application Firewall policy.

routingRuleLinks
IEnumerable<SubResource>

Describes Routing Rules associated with this Web Application Firewall policy.

securityPolicyLinks
IEnumerable<SubResource>

Describes Security Policy associated with this Web Application Firewall policy.

provisioningState
String

Provisioning state of the policy.

resourceState
Nullable<FrontDoorWebApplicationFirewallPolicyResourceState>

Resource status of the policy.

Returns

A new FrontDoorWebApplicationFirewallPolicyData instance for mocking.

Applies to