NatRule 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
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.
- 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.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET