Aracılığıyla paylaş


NatRule Constructors

Definition

Overloads

NatRule()

Initializes a new instance of the NatRule class.

NatRule(String, String, IList<String>, IList<String>, IList<String>, IList<String>, String, String, IList<String>, String)

Initializes a new instance of the NatRule class.

NatRule()

Initializes a new instance of the NatRule class.

public NatRule ();
Public Sub New ()

Applies to

NatRule(String, String, IList<String>, IList<String>, IList<String>, IList<String>, String, String, IList<String>, String)

Initializes a new instance of the NatRule class.

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

Parameters

name
String

Name of the rule.

description
String

Description of the rule.

ipProtocols
IList<String>

Array of FirewallPolicyRuleNetworkProtocols.

sourceAddresses
IList<String>

List of source IP addresses for this rule.

destinationAddresses
IList<String>

List of destination IP addresses or Service Tags.

destinationPorts
IList<String>

List of destination ports.

translatedAddress
String

The translated address for this NAT rule.

translatedPort
String

The translated port for this NAT rule.

sourceIpGroups
IList<String>

List of source IpGroups for this rule.

translatedFqdn
String

The translated FQDN for this NAT rule.

Applies to