SecurityRuleProperties interface
Security rule resource.
Properties
| access | The network traffic is allowed or denied. |
| description | A description for this rule. Restricted to 140 chars. |
| destination |
The destination address prefixes. CIDR or destination IP ranges. |
| destination |
The destination port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. |
| direction | The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. |
| priority | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. |
| protocol | Network protocol this rule applies to. |
| provisioning |
Provisioning state of the SR |
| source |
The CIDR or source IP ranges. |
| source |
The source port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. |
Property Details
access
The network traffic is allowed or denied.
access: string
Property Value
string
description
A description for this rule. Restricted to 140 chars.
description?: string
Property Value
string
destinationAddressPrefixes
The destination address prefixes. CIDR or destination IP ranges.
destinationAddressPrefixes?: string[]
Property Value
string[]
destinationPortRanges
The destination port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
destinationPortRanges?: string[]
Property Value
string[]
direction
The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
direction: string
Property Value
string
priority
The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.
priority: number
Property Value
number
protocol
Network protocol this rule applies to.
protocol: string
Property Value
string
provisioningState
Provisioning state of the SR
provisioningState?: string
Property Value
string
sourceAddressPrefixes
The CIDR or source IP ranges.
sourceAddressPrefixes?: string[]
Property Value
string[]
sourcePortRanges
The source port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
sourcePortRanges?: string[]
Property Value
string[]