Share via


AzureFirewallNetworkRule Class

Definition

Properties of the network rule.

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

Constructors

AzureFirewallNetworkRule()

Initializes a new instance of AzureFirewallNetworkRule.

Properties

Description

Description of the rule.

DestinationAddresses

List of destination IP addresses.

DestinationFqdns

List of destination FQDNs.

DestinationIPGroups

List of destination IpGroups for this rule.

DestinationPorts

List of destination ports.

Name

Name of the network rule.

Protocols

Array of AzureFirewallNetworkRuleProtocols.

SourceAddresses

List of source IP addresses for this rule.

SourceIPGroups

List of source IpGroups for this rule.

Explicit Interface Implementations

IJsonModel<AzureFirewallNetworkRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AzureFirewallNetworkRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AzureFirewallNetworkRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AzureFirewallNetworkRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AzureFirewallNetworkRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to