你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NetworkRuleCondition 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
NetworkRuleCondition() |
初始化 NetworkRuleCondition 类的新实例。 |
NetworkRuleCondition(String, String, IList<FirewallPolicyRuleConditionNetworkProtocol>, IList<String>, IList<String>, IList<String>) |
初始化 NetworkRuleCondition 类的新实例。 |
NetworkRuleCondition()
初始化 NetworkRuleCondition 类的新实例。
public NetworkRuleCondition ();
Public Sub New ()
适用于
NetworkRuleCondition(String, String, IList<FirewallPolicyRuleConditionNetworkProtocol>, IList<String>, IList<String>, IList<String>)
初始化 NetworkRuleCondition 类的新实例。
public NetworkRuleCondition (string name = default, string description = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.FirewallPolicyRuleConditionNetworkProtocol> ipProtocols = default, System.Collections.Generic.IList<string> sourceAddresses = default, System.Collections.Generic.IList<string> destinationAddresses = default, System.Collections.Generic.IList<string> destinationPorts = default);
new Microsoft.Azure.Management.Network.Fluent.Models.NetworkRuleCondition : string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.FirewallPolicyRuleConditionNetworkProtocol> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Network.Fluent.Models.NetworkRuleCondition
Public Sub New (Optional name As String = Nothing, Optional description As String = Nothing, Optional ipProtocols As IList(Of FirewallPolicyRuleConditionNetworkProtocol) = Nothing, Optional sourceAddresses As IList(Of String) = Nothing, Optional destinationAddresses As IList(Of String) = Nothing, Optional destinationPorts As IList(Of String) = Nothing)
参数
- name
- String
规则条件的名称。
- description
- String
规则条件的说明。
- ipProtocols
- IList<FirewallPolicyRuleConditionNetworkProtocol>
FirewallPolicyRuleConditionNetworkProtocols 数组。