Condividi tramite


InboundNatRulePortMapping Class

Definition

Individual port mappings for inbound NAT rule created for backend pool.

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

Properties

BackendPort

Backend port.

FrontendPort

Frontend port.

InboundNatRuleName

Name of inbound NAT rule.

Protocol

The reference to the transport protocol used by the inbound NAT rule.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<InboundNatRulePortMapping>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<InboundNatRulePortMapping>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<InboundNatRulePortMapping>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<InboundNatRulePortMapping>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<InboundNatRulePortMapping>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to