共用方式為


ArmCdnModelFactory.CdnWebApplicationFirewallPolicyData Method

Definition

Initializes a new instance of CdnWebApplicationFirewallPolicyData.

public static Azure.ResourceManager.Cdn.CdnWebApplicationFirewallPolicyData CdnWebApplicationFirewallPolicyData (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.Cdn.Models.CdnSkuName? skuName = default, Azure.ResourceManager.Cdn.Models.WafPolicySettings policySettings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.RateLimitRule> rateLimitRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.CustomRule> customRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.WafPolicyManagedRuleSet> managedRuleSets = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> endpointLinks = default, System.Collections.Generic.IDictionary<string,string> extendedProperties = default, Azure.ResourceManager.Cdn.Models.WebApplicationFirewallPolicyProvisioningState? provisioningState = default, Azure.ResourceManager.Cdn.Models.PolicyResourceState? resourceState = default);
static member CdnWebApplicationFirewallPolicyData : 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.Cdn.Models.CdnSkuName> * Azure.ResourceManager.Cdn.Models.WafPolicySettings * seq<Azure.ResourceManager.Cdn.Models.RateLimitRule> * seq<Azure.ResourceManager.Cdn.Models.CustomRule> * seq<Azure.ResourceManager.Cdn.Models.WafPolicyManagedRuleSet> * seq<Azure.ResourceManager.Resources.Models.SubResource> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.Cdn.Models.WebApplicationFirewallPolicyProvisioningState> * Nullable<Azure.ResourceManager.Cdn.Models.PolicyResourceState> -> Azure.ResourceManager.Cdn.CdnWebApplicationFirewallPolicyData
Public Shared Function CdnWebApplicationFirewallPolicyData (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 CdnSkuName) = Nothing, Optional policySettings As WafPolicySettings = Nothing, Optional rateLimitRules As IEnumerable(Of RateLimitRule) = Nothing, Optional customRules As IEnumerable(Of CustomRule) = Nothing, Optional managedRuleSets As IEnumerable(Of WafPolicyManagedRuleSet) = Nothing, Optional endpointLinks As IEnumerable(Of SubResource) = Nothing, Optional extendedProperties As IDictionary(Of String, String) = Nothing, Optional provisioningState As Nullable(Of WebApplicationFirewallPolicyProvisioningState) = Nothing, Optional resourceState As Nullable(Of PolicyResourceState) = Nothing) As CdnWebApplicationFirewallPolicyData

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<CdnSkuName>

The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.

policySettings
WafPolicySettings

Describes policySettings for policy.

rateLimitRules
IEnumerable<RateLimitRule>

Describes rate limit rules inside the policy.

customRules
IEnumerable<CustomRule>

Describes custom rules inside the policy.

managedRuleSets
IEnumerable<WafPolicyManagedRuleSet>

Describes managed rules inside the policy.

endpointLinks
IEnumerable<SubResource>

Describes Azure CDN endpoints associated with this Web Application Firewall policy.

extendedProperties
IDictionary<String,String>

Key-Value pair representing additional properties for Web Application Firewall policy.

provisioningState
Nullable<WebApplicationFirewallPolicyProvisioningState>

Provisioning state of the WebApplicationFirewallPolicy.

resourceState
Nullable<PolicyResourceState>

Resource status of the policy.

Returns

A new CdnWebApplicationFirewallPolicyData instance for mocking.

Applies to