AzureFirewallNatRule 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.
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>
type AzureFirewallNatRule = class
interface IJsonModel<AzureFirewallNatRule>
interface IPersistableModel<AzureFirewallNatRule>
Public Class AzureFirewallNatRule
Implements IJsonModel(Of AzureFirewallNatRule), IPersistableModel(Of 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. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
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. |