Dela via


EffectiveNetworkSecurityRule Class

Definition

Effective network security rules.

public class EffectiveNetworkSecurityRule
type EffectiveNetworkSecurityRule = class
Public Class EffectiveNetworkSecurityRule
Inheritance
EffectiveNetworkSecurityRule

Constructors

EffectiveNetworkSecurityRule()

Initializes a new instance of the EffectiveNetworkSecurityRule class.

EffectiveNetworkSecurityRule(String, String, String, String, IList<String>, IList<String>, String, String, IList<String>, IList<String>, IList<String>, IList<String>, String, Nullable<Int32>, String)

Initializes a new instance of the EffectiveNetworkSecurityRule class.

Properties

Access

Gets or sets whether network traffic is allowed or denied. Possible values include: 'Allow', 'Deny'

DestinationAddressPrefix

Gets or sets the destination address prefix.

DestinationAddressPrefixes

Gets or sets the destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).

DestinationPortRange

Gets or sets the destination port or range.

DestinationPortRanges

Gets or sets the destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).

Direction

Gets or sets the direction of the rule. Possible values include: 'Inbound', 'Outbound'

ExpandedDestinationAddressPrefix

Gets or sets expanded destination address prefix.

ExpandedSourceAddressPrefix

Gets or sets the expanded source address prefix.

Name

Gets or sets the name of the security rule specified by the user (if created by the user).

Priority

Gets or sets the priority of the rule.

Protocol

Gets or sets the network protocol this rule applies to. Possible values include: 'Tcp', 'Udp', 'All'

SourceAddressPrefix

Gets or sets the source address prefix.

SourceAddressPrefixes

Gets or sets the source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).

SourcePortRange

Gets or sets the source port or range.

SourcePortRanges

Gets or sets the source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).

Applies to