EffectiveNetworkSecurityRule interface
有效的网络安全规则。
属性
| access | 是允许还是拒绝网络流量。 可能的值为:“Allow”和“Deny”。 |
| destination |
目标地址前缀。 |
| destination |
目标地址前缀。 预期值包括 CIDR IP 范围、默认标记(VirtualNetwork、AzureLoadBalancer、Internet)、系统标记和星号 \。 |
| destination |
目标端口或范围。 |
| destination |
目标端口范围。 预期值包括介于 0 和 65535 之间的单个整数、使用“-”作为分隔符的范围(例如 100-400)或星号 • |
| direction | 规则的方向。 可能的值为:“入站和出站”。 |
| expanded |
扩展的目标地址前缀。 |
| expanded |
扩展的源地址前缀。 |
| name | 用户指定的安全规则的名称(如果由用户创建)。 |
| priority | 规则的优先级。 |
| protocol | 此规则适用的网络协议。 可能的值为:“Tcp”、“Udp”和“All”。 |
| source |
源地址前缀。 |
| source |
源地址前缀。 预期值包括 CIDR IP 范围、默认标记(VirtualNetwork、AzureLoadBalancer、Internet)、系统标记和星号 \。 |
| source |
源端口或范围。 |
| source |
源端口范围。 预期值包括介于 0 和 65535 之间的单个整数、使用“-”作为分隔符的范围(例如 100-400)或星号 • |
属性详细信息
access
是允许还是拒绝网络流量。 可能的值为:“Allow”和“Deny”。
access?: string
属性值
string
destinationAddressPrefix
目标地址前缀。
destinationAddressPrefix?: string
属性值
string
destinationAddressPrefixes
目标地址前缀。 预期值包括 CIDR IP 范围、默认标记(VirtualNetwork、AzureLoadBalancer、Internet)、系统标记和星号 \。
destinationAddressPrefixes?: string[]
属性值
string[]
destinationPortRange
目标端口或范围。
destinationPortRange?: string
属性值
string
destinationPortRanges
目标端口范围。 预期值包括介于 0 和 65535 之间的单个整数、使用“-”作为分隔符的范围(例如 100-400)或星号 •
destinationPortRanges?: string[]
属性值
string[]
direction
规则的方向。 可能的值为:“入站和出站”。
direction?: string
属性值
string
expandedDestinationAddressPrefix
扩展的目标地址前缀。
expandedDestinationAddressPrefix?: string[]
属性值
string[]
expandedSourceAddressPrefix
扩展的源地址前缀。
expandedSourceAddressPrefix?: string[]
属性值
string[]
name
用户指定的安全规则的名称(如果由用户创建)。
name?: string
属性值
string
priority
规则的优先级。
priority?: number
属性值
number
protocol
此规则适用的网络协议。 可能的值为:“Tcp”、“Udp”和“All”。
protocol?: string
属性值
string
sourceAddressPrefix
源地址前缀。
sourceAddressPrefix?: string
属性值
string
sourceAddressPrefixes
源地址前缀。 预期值包括 CIDR IP 范围、默认标记(VirtualNetwork、AzureLoadBalancer、Internet)、系统标记和星号 \。
sourceAddressPrefixes?: string[]
属性值
string[]
sourcePortRange
源端口或范围。
sourcePortRange?: string
属性值
string
sourcePortRanges
源端口范围。 预期值包括介于 0 和 65535 之间的单个整数、使用“-”作为分隔符的范围(例如 100-400)或星号 •
sourcePortRanges?: string[]
属性值
string[]