Dela via


InboundNatRule Constructors

Definition

Overloads

InboundNatRule()

Initializes a new instance of the InboundNatRule class.

InboundNatRule(String, SubResource, NetworkInterfaceIPConfiguration, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, SubResource, String, String, String, String)

Initializes a new instance of the InboundNatRule class.

InboundNatRule()

Initializes a new instance of the InboundNatRule class.

public InboundNatRule ();
Public Sub New ()

Applies to

InboundNatRule(String, SubResource, NetworkInterfaceIPConfiguration, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, SubResource, String, String, String, String)

Initializes a new instance of the InboundNatRule class.

public InboundNatRule (string id = default, Microsoft.Azure.Management.Network.Models.SubResource frontendIPConfiguration = default, Microsoft.Azure.Management.Network.Models.NetworkInterfaceIPConfiguration backendIPConfiguration = default, string protocol = default, int? frontendPort = default, int? backendPort = default, int? idleTimeoutInMinutes = default, bool? enableFloatingIP = default, bool? enableTcpReset = default, int? frontendPortRangeStart = default, int? frontendPortRangeEnd = default, Microsoft.Azure.Management.Network.Models.SubResource backendAddressPool = default, string provisioningState = default, string name = default, string etag = default, string type = default);
new Microsoft.Azure.Management.Network.Models.InboundNatRule : string * Microsoft.Azure.Management.Network.Models.SubResource * Microsoft.Azure.Management.Network.Models.NetworkInterfaceIPConfiguration * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * Microsoft.Azure.Management.Network.Models.SubResource * string * string * string * string -> Microsoft.Azure.Management.Network.Models.InboundNatRule
Public Sub New (Optional id As String = Nothing, Optional frontendIPConfiguration As SubResource = Nothing, Optional backendIPConfiguration As NetworkInterfaceIPConfiguration = Nothing, Optional protocol As String = Nothing, Optional frontendPort As Nullable(Of Integer) = Nothing, Optional backendPort As Nullable(Of Integer) = Nothing, Optional idleTimeoutInMinutes As Nullable(Of Integer) = Nothing, Optional enableFloatingIP As Nullable(Of Boolean) = Nothing, Optional enableTcpReset As Nullable(Of Boolean) = Nothing, Optional frontendPortRangeStart As Nullable(Of Integer) = Nothing, Optional frontendPortRangeEnd As Nullable(Of Integer) = Nothing, Optional backendAddressPool As SubResource = Nothing, Optional provisioningState As String = Nothing, Optional name As String = Nothing, Optional etag As String = Nothing, Optional type As String = Nothing)

Parameters

id
String

Resource ID.

frontendIPConfiguration
SubResource

A reference to frontend IP addresses.

backendIPConfiguration
NetworkInterfaceIPConfiguration

A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP.

protocol
String

The reference to the transport protocol used by the load balancing rule. Possible values include: 'Udp', 'Tcp', 'All'

frontendPort
Nullable<Int32>

The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534.

backendPort
Nullable<Int32>

The port used for the internal endpoint. Acceptable values range from 1 to 65535.

idleTimeoutInMinutes
Nullable<Int32>

The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP.

enableFloatingIP
Nullable<Boolean>

Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint.

enableTcpReset
Nullable<Boolean>

Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP.

frontendPortRangeStart
Nullable<Int32>

The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.

frontendPortRangeEnd
Nullable<Int32>

The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534.

backendAddressPool
SubResource

A reference to backendAddressPool resource.

provisioningState
String

The provisioning state of the inbound NAT rule resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

name
String

The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource.

etag
String

A unique read-only string that changes whenever the resource is updated.

type
String

Type of the resource.

Applies to