SecurityRuleData 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 class representing the SecurityRule data model. Network security rule.
public class SecurityRuleData : Azure.ResourceManager.Network.Models.NetworkWritableResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.SecurityRuleData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.SecurityRuleData>
public class SecurityRuleData : Azure.ResourceManager.Network.Models.NetworkWritableResourceData
type SecurityRuleData = class
inherit NetworkWritableResourceData
interface IJsonModel<SecurityRuleData>
interface IPersistableModel<SecurityRuleData>
type SecurityRuleData = class
inherit NetworkWritableResourceData
Public Class SecurityRuleData
Inherits NetworkWritableResourceData
Implements IJsonModel(Of SecurityRuleData), IPersistableModel(Of SecurityRuleData)
Public Class SecurityRuleData
Inherits NetworkWritableResourceData
- Inheritance
- Implements
Constructors
SecurityRuleData() |
Initializes a new instance of SecurityRuleData. |
Properties
Access |
The network traffic is allowed or denied. |
Description |
A description for this rule. Restricted to 140 chars. |
DestinationAddressPrefix |
The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. |
DestinationAddressPrefixes |
The destination address prefixes. CIDR or destination IP ranges. |
DestinationApplicationSecurityGroups |
The application security group specified as destination. |
DestinationPortRange |
The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. |
DestinationPortRanges |
The destination port ranges. |
Direction |
The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. |
ETag |
A unique read-only string that changes whenever the resource is updated. |
Id |
Resource ID. (Inherited from NetworkWritableResourceData) |
Name |
Resource name. (Inherited from NetworkWritableResourceData) |
Priority |
The priority of the rule. The value can be between 100 and 4096. 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 |
Network protocol this rule applies to. |
ProvisioningState |
The provisioning state of the security rule resource. |
ResourceType |
Resource type. (Inherited from NetworkWritableResourceData) |
SourceAddressPrefix |
The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from. |
SourceAddressPrefixes |
The CIDR or source IP ranges. |
SourceApplicationSecurityGroups |
The application security group specified as source. |
SourcePortRange |
The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. |
SourcePortRanges |
The source port ranges. |
Explicit Interface Implementations
Applies to
Azure SDK for .NET