SecurityRule interface

Network security rule.

Extends

Properties

access

The network traffic is allowed or denied. Possible values are: 'Allow' and 'Deny'.

description

A description for this rule. Restricted to 140 chars.

destinationAddressPrefix

The destination address prefix. CIDR or destination IP range. Asterisks '*' 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. Asterisks '*' 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. Possible values are: 'Inbound' and 'Outbound'.

etag

A unique read-only string that changes whenever the resource is updated.

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. Possible values are 'Tcp', 'Udp', and '*'.

provisioningState

The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.

sourceAddressPrefix

The CIDR or source IP range. Asterisks '*' 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. Asterisks '*' can also be used to match all ports.

sourcePortRanges

The source port ranges.

Inherited Properties

id

Resource ID.

Property Details

access

The network traffic is allowed or denied. Possible values are: 'Allow' and 'Deny'.

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. Asterisks '*' 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. Asterisks '*' 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. Possible values are: 'Inbound' and 'Outbound'.

direction?: string

Property Value

string

etag

A unique read-only string that changes whenever the resource is updated.

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. Possible values are 'Tcp', 'Udp', and '*'.

protocol?: string

Property Value

string

provisioningState

The provisioning state of the public IP resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.

provisioningState?: string

Property Value

string

sourceAddressPrefix

The CIDR or source IP range. Asterisks '*' 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. Asterisks '*' can also be used to match all ports.

sourcePortRange?: string

Property Value

string

sourcePortRanges

The source port ranges.

sourcePortRanges?: string[]

Property Value

string[]

Inherited Property Details

id

Resource ID.

id?: string

Property Value

string

Inherited From SubResource.id