Dela via


AzureFirewallNatRule Constructors

Definition

Overloads

AzureFirewallNatRule()

Initializes a new instance of the AzureFirewallNatRule class.

AzureFirewallNatRule(String, String, IList<String>, IList<String>, IList<String>, IList<String>, String, String, String, IList<String>)

Initializes a new instance of the AzureFirewallNatRule class.

AzureFirewallNatRule()

Initializes a new instance of the AzureFirewallNatRule class.

public AzureFirewallNatRule ();
Public Sub New ()

Applies to

AzureFirewallNatRule(String, String, IList<String>, IList<String>, IList<String>, IList<String>, String, String, String, IList<String>)

Initializes a new instance of the AzureFirewallNatRule class.

public AzureFirewallNatRule (string name = default, string description = default, System.Collections.Generic.IList<string> sourceAddresses = default, System.Collections.Generic.IList<string> destinationAddresses = default, System.Collections.Generic.IList<string> destinationPorts = default, System.Collections.Generic.IList<string> protocols = default, string translatedAddress = default, string translatedPort = default, string translatedFqdn = default, System.Collections.Generic.IList<string> sourceIpGroups = default);
new Microsoft.Azure.Management.Network.Models.AzureFirewallNatRule : string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * string * string * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Network.Models.AzureFirewallNatRule
Public Sub New (Optional name As String = Nothing, Optional description As String = Nothing, Optional sourceAddresses As IList(Of String) = Nothing, Optional destinationAddresses As IList(Of String) = Nothing, Optional destinationPorts As IList(Of String) = Nothing, Optional protocols As IList(Of String) = Nothing, Optional translatedAddress As String = Nothing, Optional translatedPort As String = Nothing, Optional translatedFqdn As String = Nothing, Optional sourceIpGroups As IList(Of String) = Nothing)

Parameters

name
String

Name of the NAT rule.

description
String

Description of the rule.

sourceAddresses
IList<String>

List of source IP addresses for this rule.

destinationAddresses
IList<String>

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

destinationPorts
IList<String>

List of destination ports.

protocols
IList<String>

Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.

translatedAddress
String

The translated address for this NAT rule.

translatedPort
String

The translated port for this NAT rule.

translatedFqdn
String

The translated FQDN for this NAT rule.

sourceIpGroups
IList<String>

List of source IpGroups for this rule.

Applies to