Dela via


EffectiveNetworkSecurityRule Class

Definition

Effective network security rules.

public class EffectiveNetworkSecurityRule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.Models.EffectiveNetworkSecurityRule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.Models.EffectiveNetworkSecurityRule>
public class EffectiveNetworkSecurityRule
type EffectiveNetworkSecurityRule = class
    interface IJsonModel<EffectiveNetworkSecurityRule>
    interface IPersistableModel<EffectiveNetworkSecurityRule>
type EffectiveNetworkSecurityRule = class
Public Class EffectiveNetworkSecurityRule
Implements IJsonModel(Of EffectiveNetworkSecurityRule), IPersistableModel(Of EffectiveNetworkSecurityRule)
Public Class EffectiveNetworkSecurityRule
Inheritance
EffectiveNetworkSecurityRule
Implements

Properties

Access

Whether network traffic is allowed or denied.

DestinationAddressPrefix

The destination address prefix.

DestinationAddressPrefixes

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

DestinationPortRange

The destination port or range.

DestinationPortRanges

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

The direction of the rule.

ExpandedDestinationAddressPrefix

Expanded destination address prefix.

ExpandedSourceAddressPrefix

The expanded source address prefix.

Name

The name of the security rule specified by the user (if created by the user).

Priority

The priority of the rule.

Protocol

The network protocol this rule applies to.

SourceAddressPrefix

The source address prefix.

SourceAddressPrefixes

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

SourcePortRange

The source port or range.

SourcePortRanges

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 (*).

Explicit Interface Implementations

IJsonModel<EffectiveNetworkSecurityRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<EffectiveNetworkSecurityRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EffectiveNetworkSecurityRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EffectiveNetworkSecurityRule>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<EffectiveNetworkSecurityRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to