다음을 통해 공유


AzureFirewallNatRule Class

Definition

Properties of a NAT rule.

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

Constructors

AzureFirewallNatRule()

Initializes a new instance of AzureFirewallNatRule.

Properties

Description

Description of the rule.

DestinationAddresses

List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.

DestinationPorts

List of destination ports.

Name

Name of the NAT rule.

Protocols

Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.

SourceAddresses

List of source IP addresses for this rule.

SourceIPGroups

List of source IpGroups for this rule.

TranslatedAddress

The translated address for this NAT rule.

TranslatedFqdn

The translated FQDN for this NAT rule.

TranslatedPort

The translated port for this NAT rule.

Explicit Interface Implementations

IJsonModel<AzureFirewallNatRule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AzureFirewallNatRule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AzureFirewallNatRule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AzureFirewallNatRule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AzureFirewallNatRule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to