共用方式為


InboundNatPoolInner Constructors

Definition

Overloads

InboundNatPoolInner()

Initializes a new instance of the InboundNatPoolInner class.

InboundNatPoolInner(TransportProtocol, Int32, Int32, Int32, String, SubResource, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, ProvisioningState, String, String, String)

Initializes a new instance of the InboundNatPoolInner class.

InboundNatPoolInner()

Initializes a new instance of the InboundNatPoolInner class.

public InboundNatPoolInner ();
Public Sub New ()

Applies to

InboundNatPoolInner(TransportProtocol, Int32, Int32, Int32, String, SubResource, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, ProvisioningState, String, String, String)

Initializes a new instance of the InboundNatPoolInner class.

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

Parameters

protocol
TransportProtocol

The reference to the transport protocol used by the inbound NAT pool. Possible values include: 'Udp', 'Tcp', 'All'

frontendPortRangeStart
Int32

The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534.

frontendPortRangeEnd
Int32

The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535.

backendPort
Int32

The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535.

id
String
frontendIPConfiguration
SubResource

A reference to frontend IP addresses.

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.

provisioningState
ProvisioningState

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

name
String

The name of the resource that is unique within the set of inbound NAT pools 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