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(Int32, NetworkSecurityGroupRuleAccess, String, IReadOnlyList<String>)

Initializes a new instance of the NetworkSecurityGroupRule class.

Properties

Access

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

Priority

Gets the priority for this rule.

SourceAddressPrefix

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

SourcePortRanges

Gets the source port ranges to match for the rule.

Applies to