你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FirewallPolicy 构造函数

定义

重载

FirewallPolicy()

初始化 FirewallPolicy 类的新实例。

FirewallPolicy(String, String, String, String, IDictionary<String, String>, IList<SubResource>, String, SubResource, IList<SubResource>, IList<SubResource>, String, FirewallPolicyThreatIntelWhitelist, FirewallPolicyInsights, FirewallPolicySNAT, FirewallPolicySQL, DnsSettings, ExplicitProxy, FirewallPolicyIntrusionDetection, FirewallPolicyTransportSecurity, FirewallPolicySku, String, ManagedServiceIdentity)

初始化 FirewallPolicy 类的新实例。

FirewallPolicy()

初始化 FirewallPolicy 类的新实例。

public FirewallPolicy();
Public Sub New ()

适用于

FirewallPolicy(String, String, String, String, IDictionary<String, String>, IList<SubResource>, String, SubResource, IList<SubResource>, IList<SubResource>, String, FirewallPolicyThreatIntelWhitelist, FirewallPolicyInsights, FirewallPolicySNAT, FirewallPolicySQL, DnsSettings, ExplicitProxy, FirewallPolicyIntrusionDetection, FirewallPolicyTransportSecurity, FirewallPolicySku, String, ManagedServiceIdentity)

初始化 FirewallPolicy 类的新实例。

public FirewallPolicy(string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> ruleCollectionGroups = default, string provisioningState = default, Microsoft.Azure.Management.Network.Models.SubResource basePolicy = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> firewalls = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> childPolicies = default, string threatIntelMode = default, Microsoft.Azure.Management.Network.Models.FirewallPolicyThreatIntelWhitelist threatIntelWhitelist = default, Microsoft.Azure.Management.Network.Models.FirewallPolicyInsights insights = default, Microsoft.Azure.Management.Network.Models.FirewallPolicySNAT snat = default, Microsoft.Azure.Management.Network.Models.FirewallPolicySQL sql = default, Microsoft.Azure.Management.Network.Models.DnsSettings dnsSettings = default, Microsoft.Azure.Management.Network.Models.ExplicitProxy explicitProxy = default, Microsoft.Azure.Management.Network.Models.FirewallPolicyIntrusionDetection intrusionDetection = default, Microsoft.Azure.Management.Network.Models.FirewallPolicyTransportSecurity transportSecurity = default, Microsoft.Azure.Management.Network.Models.FirewallPolicySku sku = default, string etag = default, Microsoft.Azure.Management.Network.Models.ManagedServiceIdentity identity = default);
new Microsoft.Azure.Management.Network.Models.FirewallPolicy : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * string * Microsoft.Azure.Management.Network.Models.SubResource * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Models.SubResource> * string * Microsoft.Azure.Management.Network.Models.FirewallPolicyThreatIntelWhitelist * Microsoft.Azure.Management.Network.Models.FirewallPolicyInsights * Microsoft.Azure.Management.Network.Models.FirewallPolicySNAT * Microsoft.Azure.Management.Network.Models.FirewallPolicySQL * Microsoft.Azure.Management.Network.Models.DnsSettings * Microsoft.Azure.Management.Network.Models.ExplicitProxy * Microsoft.Azure.Management.Network.Models.FirewallPolicyIntrusionDetection * Microsoft.Azure.Management.Network.Models.FirewallPolicyTransportSecurity * Microsoft.Azure.Management.Network.Models.FirewallPolicySku * string * Microsoft.Azure.Management.Network.Models.ManagedServiceIdentity -> Microsoft.Azure.Management.Network.Models.FirewallPolicy
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional ruleCollectionGroups As IList(Of SubResource) = Nothing, Optional provisioningState As String = Nothing, Optional basePolicy As SubResource = Nothing, Optional firewalls As IList(Of SubResource) = Nothing, Optional childPolicies As IList(Of SubResource) = Nothing, Optional threatIntelMode As String = Nothing, Optional threatIntelWhitelist As FirewallPolicyThreatIntelWhitelist = Nothing, Optional insights As FirewallPolicyInsights = Nothing, Optional snat As FirewallPolicySNAT = Nothing, Optional sql As FirewallPolicySQL = Nothing, Optional dnsSettings As DnsSettings = Nothing, Optional explicitProxy As ExplicitProxy = Nothing, Optional intrusionDetection As FirewallPolicyIntrusionDetection = Nothing, Optional transportSecurity As FirewallPolicyTransportSecurity = Nothing, Optional sku As FirewallPolicySku = Nothing, Optional etag As String = Nothing, Optional identity As ManagedServiceIdentity = Nothing)

参数

id
String

资源 ID。

name
String

资源名称。

type
String

资源类型。

location
String

资源位置。

tags
IDictionary<String,String>

资源标记。

ruleCollectionGroups
IList<SubResource>

对 FirewallPolicyRuleCollectionGroups 的引用列表。

provisioningState
String

防火墙策略资源的预配状态。 可能的值包括:“Succeeded”、“Updating”、“Deleting”、“Failed”

basePolicy
SubResource

从中继承规则的父防火墙策略。

firewalls
IList<SubResource>

与此防火墙策略关联的对 Azure 防火墙的引用列表。

childPolicies
IList<SubResource>

对子防火墙策略的引用列表。

threatIntelMode
String

威胁智能的操作模式。 可能的值包括:“Alert”、“Deny”、“Off”

threatIntelWhitelist
FirewallPolicyThreatIntelWhitelist

ThreatIntel 防火墙策略的允许列表。

insights
FirewallPolicyInsights

有关防火墙策略的见解。

snat
FirewallPolicySNAT

流量不会为 SNAT 的专用 IP 地址/IP 范围。

sql
FirewallPolicySQL

SQL 设置定义。

dnsSettings
DnsSettings

DNS 代理设置定义。

explicitProxy
ExplicitProxy

显式代理设置定义。

intrusionDetection
FirewallPolicyIntrusionDetection

入侵检测的配置。

transportSecurity
FirewallPolicyTransportSecurity

TLS 配置定义。

sku
FirewallPolicySku

防火墙策略 SKU。

etag
String

一个唯一的只读字符串,每当资源更新时都会更改。

identity
ManagedServiceIdentity

防火墙策略的标识。

适用于