Condividi tramite


NaptConfiguration Class

Definition

The network address and port translation settings to use for the attached data network.

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

Constructors

NaptConfiguration()

Initializes a new instance of NaptConfiguration.

Properties

Enabled

Whether NAPT is enabled for connections to this attached data network.

PinholeLimits

Maximum number of UDP and TCP pinholes that can be open simultaneously on the core interface. For 5G networks, this is the N6 interface. For 4G networks, this is the SGi interface.

PinholeTimeouts

Expiry times of inactive NAPT pinholes, in seconds. All timers must be at least 1 second.

PortRange

Range of port numbers to use as translated ports on each translated address. If not specified and NAPT is enabled, this range defaults to 1,024 - 49,999. (Ports under 1,024 should not be used because these are special purpose ports reserved by IANA. Ports 50,000 and above are reserved for non-NAPT use.)

PortReuseHoldTime

The minimum time (in seconds) that will pass before a port that was used by a closed pinhole can be recycled for use by another pinhole. All hold times must be at least 1 second.

Explicit Interface Implementations

IJsonModel<NaptConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<NaptConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NaptConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<NaptConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<NaptConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to