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

NetworkRule interface

网络类型的规则。

扩展

属性

destinationAddresses

目标 IP 地址或服务标记的列表。

destinationFqdns

目标 FQDN 列表。

destinationIpGroups

此规则的目标 IpGroup 列表。

destinationPorts

目标端口列表。

ipProtocols

FirewallPolicyRuleNetworkProtocols 的数组。

ruleType

多态鉴别器,它指定此对象可以的不同类型的

sourceAddresses

此规则的源 IP 地址列表。

sourceIpGroups

此规则的源 IpGroup 列表。

继承属性

description

规则的说明。

name

规则的名称。

属性详细信息

destinationAddresses

目标 IP 地址或服务标记的列表。

destinationAddresses?: string[]

属性值

string[]

destinationFqdns

目标 FQDN 列表。

destinationFqdns?: string[]

属性值

string[]

destinationIpGroups

此规则的目标 IpGroup 列表。

destinationIpGroups?: string[]

属性值

string[]

destinationPorts

目标端口列表。

destinationPorts?: string[]

属性值

string[]

ipProtocols

FirewallPolicyRuleNetworkProtocols 的数组。

ipProtocols?: string[]

属性值

string[]

ruleType

多态鉴别器,它指定此对象可以的不同类型的

ruleType: "NetworkRule"

属性值

"NetworkRule"

sourceAddresses

此规则的源 IP 地址列表。

sourceAddresses?: string[]

属性值

string[]

sourceIpGroups

此规则的源 IpGroup 列表。

sourceIpGroups?: string[]

属性值

string[]

继承属性详细信息

description

规则的说明。

description?: string

属性值

string

继承自FirewallPolicyRule.description

name

规则的名称。

name?: string

属性值

string

继承自 FirewallPolicyRule.name