NetworkSecurityGroupRule Class

Definition

A network security group rule to apply to an inbound endpoint.

public class NetworkSecurityGroupRule
type NetworkSecurityGroupRule = class
Public Class NetworkSecurityGroupRule
Inheritance
NetworkSecurityGroupRule

Constructors

NetworkSecurityGroupRule()

Initializes a new instance of the NetworkSecurityGroupRule class.

NetworkSecurityGroupRule(Int32, NetworkSecurityGroupRuleAccess, String, IList<String>)

Initializes a new instance of the NetworkSecurityGroupRule class.

Properties

Access

Gets or sets the action that should be taken for a specified IP address, subnet range or tag.

Priority

Gets or sets the priority for this rule.

SourceAddressPrefix

Gets or sets the source address prefix or tag to match for the rule.

SourcePortRanges

Gets or sets the source port ranges to match for the rule.

Applies to