FirewallPolicyNatRule Constructors
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.
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.
- 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.