NetworkSecurityGroupRule 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.
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. |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk