Dela via


InboundNatRule Class

Definition

Inbound NAT rule of the load balancer.

[Microsoft.Rest.Serialization.JsonTransformation]
public class InboundNatRule : Microsoft.Azure.Management.Network.Models.SubResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type InboundNatRule = class
    inherit SubResource
Public Class InboundNatRule
Inherits SubResource
Inheritance
InboundNatRule
Attributes

Constructors

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.

Properties

BackendAddressPool

Gets or sets a reference to backendAddressPool resource.

BackendIPConfiguration

Gets 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.

BackendPort

Gets or sets the port used for the internal endpoint. Acceptable values range from 1 to 65535.

EnableFloatingIP

Gets or sets 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

Gets or sets 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.

Etag

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

FrontendIPConfiguration

Gets or sets a reference to frontend IP addresses.

FrontendPort

Gets or sets 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.

FrontendPortRangeEnd

Gets or sets 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.

FrontendPortRangeStart

Gets or sets 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.

Id

Gets or sets resource ID.

(Inherited from SubResource)
IdleTimeoutInMinutes

Gets or sets 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.

Name

Gets or sets 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.

Protocol

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

ProvisioningState

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

Type

Gets type of the resource.

Applies to