Share via


SecurityRulePropertiesFormat interface

Security rule resource.

Properties

access

The network traffic is allowed or denied.

description

A description for this rule. Restricted to 140 chars.

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.

destinationAddressPrefixes

The destination address prefixes. CIDR or destination IP ranges.

destinationApplicationSecurityGroups

The application security group specified as destination.

destinationPortRange

The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.

destinationPortRanges

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.

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.

sourceAddressPrefixes

The CIDR or source IP ranges.

sourceApplicationSecurityGroups

The application security group specified as source.

sourcePortRange

The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.

sourcePortRanges

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?: ApplicationSecurityGroup[]

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"

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?: ApplicationSecurityGroup[]

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[]