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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET