SecurityRulePropertiesFormatOutput 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 prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. |
| destination |
The destination address prefixes. CIDR or destination IP ranges. |
| destination |
The application security group specified as destination. |
| destination |
The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. |
| destination |
The destination port ranges. |
| 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 |
The provisioning state of the security rule resource. |
| source |
The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from. |
| source |
The CIDR or source IP ranges. |
| source |
The application security group specified as source. |
| source |
The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. |
| source |
The source port ranges. |
Property Details
access
The network traffic is allowed or denied.
access: "Allow" | "Deny"
Property Value
"Allow" | "Deny"
description
A description for this rule. Restricted to 140 chars.
description?: string
Property Value
string
destinationAddressPrefix
The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.
destinationAddressPrefix?: string
Property Value
string
destinationAddressPrefixes
The destination address prefixes. CIDR or destination IP ranges.
destinationAddressPrefixes?: string[]
Property Value
string[]
destinationApplicationSecurityGroups
The application security group specified as destination.
destinationApplicationSecurityGroups?: ApplicationSecurityGroupOutput[]
Property Value
destinationPortRange
The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
destinationPortRange?: string
Property Value
string
destinationPortRanges
The destination port ranges.
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: "Inbound" | "Outbound"
Property Value
"Inbound" | "Outbound"
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: "Tcp" | "Udp" | "Icmp" | "Esp" | "*" | "Ah"
Property Value
"Tcp" | "Udp" | "Icmp" | "Esp" | "*" | "Ah"
provisioningState
The provisioning state of the security rule resource.
provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"
Property Value
"Succeeded" | "Updating" | "Deleting" | "Failed"
sourceAddressPrefix
The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.
sourceAddressPrefix?: string
Property Value
string
sourceAddressPrefixes
The CIDR or source IP ranges.
sourceAddressPrefixes?: string[]
Property Value
string[]
sourceApplicationSecurityGroups
The application security group specified as source.
sourceApplicationSecurityGroups?: ApplicationSecurityGroupOutput[]
Property Value
sourcePortRange
The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.
sourcePortRange?: string
Property Value
string
sourcePortRanges
The source port ranges.
sourcePortRanges?: string[]
Property Value
string[]