NetworkSecurityRule Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes a network security rule.
public class NetworkSecurityRule
type NetworkSecurityRule = class
Public Class NetworkSecurityRule
- Inheritance
-
NetworkSecurityRule
Constructors
NetworkSecurityRule() |
Initializes a new instance of the NetworkSecurityRule class. |
NetworkSecurityRule(String, String, String, Int32, String, String, IList<String>, IList<String>, IList<String>, IList<String>) |
Initializes a new instance of the NetworkSecurityRule class. |
Properties
Access |
Gets or sets the network traffic is allowed or denied. Possible values include: 'allow', 'deny' |
Description |
Gets or sets network security rule description. |
DestinationAddressPrefixes |
Gets or sets the destination address prefixes. CIDR or destination IP ranges. |
DestinationPortRanges |
Gets or sets the destination port ranges. |
Direction |
Gets or sets network security rule direction. Possible values include: 'inbound', 'outbound' |
Name |
Gets or sets network security rule name. |
Priority |
Gets or sets the priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. 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 |
Gets or sets network protocol this rule applies to. Possible values include: 'http', 'https', 'tcp', 'udp', 'icmp', 'ah', 'esp' |
SourceAddressPrefixes |
Gets or sets the CIDR or source IP ranges. |
SourcePortRanges |
Gets or sets the source port ranges. |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET