다음을 통해 공유


FirewallPolicyNatRule Constructors

Definition

Overloads

FirewallPolicyNatRule()

Initializes a new instance of the FirewallPolicyNatRule class.

FirewallPolicyNatRule(String, Nullable<Int32>, FirewallPolicyNatRuleAction, String, String, FirewallPolicyRuleCondition)

Initializes a new instance of the FirewallPolicyNatRule class.

FirewallPolicyNatRule()

Initializes a new instance of the FirewallPolicyNatRule class.

public FirewallPolicyNatRule ();
Public Sub New ()

Applies to

FirewallPolicyNatRule(String, Nullable<Int32>, FirewallPolicyNatRuleAction, String, String, FirewallPolicyRuleCondition)

Initializes a new instance of the FirewallPolicyNatRule class.

public FirewallPolicyNatRule (string name = default, int? priority = default, Microsoft.Azure.Management.Network.Fluent.Models.FirewallPolicyNatRuleAction action = default, string translatedAddress = default, string translatedPort = default, Microsoft.Azure.Management.Network.Fluent.Models.FirewallPolicyRuleCondition ruleCondition = default);
new Microsoft.Azure.Management.Network.Fluent.Models.FirewallPolicyNatRule : string * Nullable<int> * Microsoft.Azure.Management.Network.Fluent.Models.FirewallPolicyNatRuleAction * string * string * Microsoft.Azure.Management.Network.Fluent.Models.FirewallPolicyRuleCondition -> Microsoft.Azure.Management.Network.Fluent.Models.FirewallPolicyNatRule
Public Sub New (Optional name As String = Nothing, Optional priority As Nullable(Of Integer) = Nothing, Optional action As FirewallPolicyNatRuleAction = Nothing, Optional translatedAddress As String = Nothing, Optional translatedPort As String = Nothing, Optional ruleCondition As FirewallPolicyRuleCondition = Nothing)

Parameters

name
String

The name of the rule.

priority
Nullable<Int32>

Priority of the Firewall Policy Rule resource.

action
FirewallPolicyNatRuleAction

The action type of a Nat rule.

translatedAddress
String

The translated address for this NAT rule.

translatedPort
String

The translated port for this NAT rule.

ruleCondition
FirewallPolicyRuleCondition

The match conditions for incoming traffic.

Applies to