你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NetworkRule 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
网络类型的规则。
public class NetworkRule : Microsoft.Azure.Management.Network.Models.FirewallPolicyRule
type NetworkRule = class
inherit FirewallPolicyRule
Public Class NetworkRule
Inherits FirewallPolicyRule
- 继承
构造函数
NetworkRule() |
初始化 NetworkRule 类的新实例。 |
NetworkRule(String, String, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>, IList<String>) |
初始化 NetworkRule 类的新实例。 |
属性
Description |
获取或设置规则的说明。 (继承自 FirewallPolicyRule) |
DestinationAddresses |
获取或设置目标 IP 地址或服务标记的列表。 |
DestinationFqdns |
获取或设置目标 FQDN 的列表。 |
DestinationIpGroups |
获取或设置此规则的目标 IpGroup 的列表。 |
DestinationPorts |
获取或设置目标端口的列表。 |
IpProtocols |
获取或设置 FirewallPolicyRuleNetworkProtocols 的数组。 |
Name |
获取或设置规则的名称。 (继承自 FirewallPolicyRule) |
SourceAddresses |
获取或设置此规则的源 IP 地址列表。 |
SourceIpGroups |
获取或设置此规则的源 IpGroup 列表。 |