共用方式為


InboundNatRuleData Class

Definition

A class representing the InboundNatRule data model. Inbound NAT rule of the load balancer.

public class InboundNatRuleData : Azure.ResourceManager.Network.Models.NetworkResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.InboundNatRuleData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.InboundNatRuleData>
public class InboundNatRuleData : Azure.ResourceManager.Network.Models.NetworkResourceData
type InboundNatRuleData = class
    inherit NetworkResourceData
    interface IJsonModel<InboundNatRuleData>
    interface IPersistableModel<InboundNatRuleData>
type InboundNatRuleData = class
    inherit NetworkResourceData
Public Class InboundNatRuleData
Inherits NetworkResourceData
Implements IJsonModel(Of InboundNatRuleData), IPersistableModel(Of InboundNatRuleData)
Public Class InboundNatRuleData
Inherits NetworkResourceData
Inheritance
InboundNatRuleData
Implements

Constructors

InboundNatRuleData()

Initializes a new instance of InboundNatRuleData.

Properties

BackendAddressPoolId

Gets or sets Id.

BackendIPConfiguration

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

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

EnableFloatingIP

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

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

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

FrontendIPConfigurationId

Gets or sets Id.

FrontendPort

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

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

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

Resource ID.

(Inherited from NetworkResourceData)
IdleTimeoutInMinutes

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

Resource name.

(Inherited from NetworkResourceData)
Protocol

The reference to the transport protocol used by the load balancing rule.

ProvisioningState

The provisioning state of the inbound NAT rule resource.

ResourceType

Resource type.

(Inherited from NetworkResourceData)

Explicit Interface Implementations

IJsonModel<InboundNatRuleData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<InboundNatRuleData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<NetworkResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from NetworkResourceData)
IJsonModel<NetworkResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkResourceData)
IPersistableModel<InboundNatRuleData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<InboundNatRuleData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<InboundNatRuleData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<NetworkResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NetworkResourceData)
IPersistableModel<NetworkResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from NetworkResourceData)
IPersistableModel<NetworkResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NetworkResourceData)

Applies to