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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기