你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CdnWebApplicationFirewallPolicy 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CdnWebApplicationFirewallPolicy() |
初始化 CdnWebApplicationFirewallPolicy 类的新实例。 |
CdnWebApplicationFirewallPolicy(String, Sku, String, String, String, SystemData, IDictionary<String,String>, PolicySettings, RateLimitRuleList, CustomRuleList, ManagedRuleSetList, IList<CdnEndpoint>, String, String, String) |
初始化 CdnWebApplicationFirewallPolicy 类的新实例。 |
CdnWebApplicationFirewallPolicy()
初始化 CdnWebApplicationFirewallPolicy 类的新实例。
public CdnWebApplicationFirewallPolicy ();
Public Sub New ()
适用于
CdnWebApplicationFirewallPolicy(String, Sku, String, String, String, SystemData, IDictionary<String,String>, PolicySettings, RateLimitRuleList, CustomRuleList, ManagedRuleSetList, IList<CdnEndpoint>, String, String, String)
初始化 CdnWebApplicationFirewallPolicy 类的新实例。
public CdnWebApplicationFirewallPolicy (string location, Microsoft.Azure.Management.Cdn.Models.Sku sku, string id = default, string name = default, string type = default, Microsoft.Azure.Management.Cdn.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Cdn.Models.PolicySettings policySettings = default, Microsoft.Azure.Management.Cdn.Models.RateLimitRuleList rateLimitRules = default, Microsoft.Azure.Management.Cdn.Models.CustomRuleList customRules = default, Microsoft.Azure.Management.Cdn.Models.ManagedRuleSetList managedRules = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.CdnEndpoint> endpointLinks = default, string provisioningState = default, string resourceState = default, string etag = default);
new Microsoft.Azure.Management.Cdn.Models.CdnWebApplicationFirewallPolicy : string * Microsoft.Azure.Management.Cdn.Models.Sku * string * string * string * Microsoft.Azure.Management.Cdn.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Cdn.Models.PolicySettings * Microsoft.Azure.Management.Cdn.Models.RateLimitRuleList * Microsoft.Azure.Management.Cdn.Models.CustomRuleList * Microsoft.Azure.Management.Cdn.Models.ManagedRuleSetList * System.Collections.Generic.IList<Microsoft.Azure.Management.Cdn.Models.CdnEndpoint> * string * string * string -> Microsoft.Azure.Management.Cdn.Models.CdnWebApplicationFirewallPolicy
Public Sub New (location As String, sku As Sku, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional policySettings As PolicySettings = Nothing, Optional rateLimitRules As RateLimitRuleList = Nothing, Optional customRules As CustomRuleList = Nothing, Optional managedRules As ManagedRuleSetList = Nothing, Optional endpointLinks As IList(Of CdnEndpoint) = Nothing, Optional provisioningState As String = Nothing, Optional resourceState As String = Nothing, Optional etag As String = Nothing)
参数
- location
- String
资源位置。
- sku
- Sku
定价层 (定义 CdnWebApplicationFirewallPolicy 的 CDN 提供程序、功能列表和速率) 。
- id
- String
资源 ID。
- name
- String
资源名称。
- type
- String
资源类型。
- systemData
- SystemData
- tags
- IDictionary<String,String>
资源标记。
- policySettings
- PolicySettings
描述策略的策略设置
- rateLimitRules
- RateLimitRuleList
描述策略中的速率限制规则。
- customRules
- CustomRuleList
描述策略中的自定义规则。
- managedRules
- ManagedRuleSetList
描述策略中的托管规则。
- endpointLinks
- IList<CdnEndpoint>
介绍与此Web 应用程序防火墙策略关联的 Azure CDN 终结点。
- provisioningState
- String
预配 WebApplicationFirewallPolicy 的状态。 可能的值包括:“Create”、“Succeeded”、“Failed”
- resourceState
- String
策略的资源状态。
- etag
- String
获取一个唯一的只读字符串,该字符串在资源更新时会更改。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈