共用方式為


NatRulePortMapping Class

Definition

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

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

Properties

BackendPort

Backend port.

FrontendPort

Frontend port.

InboundNatRuleName

Name of inbound NAT rule.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<NatRulePortMapping>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NatRulePortMapping>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NatRulePortMapping>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NatRulePortMapping>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NatRulePortMapping>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to