SecurityRule interface

Network security rule.

Extends

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.

etag

A unique read-only string that changes whenever the resource is updated. NOTE: This property will not be serialized. It can only be populated by the server.

name

The name of the resource that is unique within a resource group. This name can be used to access the resource.

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.

provisioningState

The provisioning state of the security rule resource. NOTE: This property will not be serialized. It can only be populated by the server.

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.

type

The type of the resource.

Inherited Properties

id

Resource ID.

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

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?: string

Property Value

string

etag

A unique read-only string that changes whenever the resource is updated. NOTE: This property will not be serialized. It can only be populated by the server.

etag?: string

Property Value

string

name

The name of the resource that is unique within a resource group. This name can be used to access the resource.

name?: 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

The provisioning state of the security rule resource. NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState?: string

Property Value

string

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

type

The type of the resource.

type?: string

Property Value

string

Inherited Property Details

id

Resource ID.

id?: string

Property Value

string

Inherited From SubResource.id