ArmCdnModelFactory.CdnWebApplicationFirewallPolicyData Method

Definition

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.ResourceManager.Cdn.Models.WafPolicySettings policySettings = 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, 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, Azure.ETag? eTag = default, Azure.ResourceManager.Cdn.Models.CdnSkuName? skuName = default);
static member CdnWebApplicationFirewallPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Cdn.Models.WafPolicySettings * seq<Azure.ResourceManager.Resources.Models.SubResource> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.Cdn.Models.WebApplicationFirewallPolicyProvisioningState> * Nullable<Azure.ResourceManager.Cdn.Models.PolicyResourceState> * seq<Azure.ResourceManager.Cdn.Models.RateLimitRule> * seq<Azure.ResourceManager.Cdn.Models.CustomRule> * seq<Azure.ResourceManager.Cdn.Models.WafPolicyManagedRuleSet> * Nullable<Azure.ETag> * Nullable<Azure.ResourceManager.Cdn.Models.CdnSkuName> -> 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 policySettings As WafPolicySettings = 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, Optional rateLimitRules As IEnumerable(Of RateLimitRule) = Nothing, Optional customRules As IEnumerable(Of CustomRule) = Nothing, Optional managedRuleSets As IEnumerable(Of WafPolicyManagedRuleSet) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional skuName As Nullable(Of CdnSkuName) = Nothing) As CdnWebApplicationFirewallPolicyData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

policySettings
WafPolicySettings

Describes policySettings for 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.

rateLimitRules
IEnumerable<RateLimitRule>

List of rules.

customRules
IEnumerable<CustomRule>

List of rules.

managedRuleSets
IEnumerable<WafPolicyManagedRuleSet>

List of rule sets.

eTag
Nullable<ETag>

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

skuName
Nullable<CdnSkuName>

Name of the pricing tier.

Returns

A new CdnWebApplicationFirewallPolicyData instance for mocking.

Applies to