Share via


NaptConfiguration Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MobileNetwork.Models.Api20221101.NaptConfigurationTypeConverter))]
public class NaptConfiguration : Microsoft.Azure.PowerShell.Cmdlets.MobileNetwork.Models.Api20221101.INaptConfiguration
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MobileNetwork.Models.Api20221101.NaptConfigurationTypeConverter))>]
type NaptConfiguration = class
    interface INaptConfiguration
    interface IJsonSerializable
Public Class NaptConfiguration
Implements INaptConfiguration
Inheritance
NaptConfiguration
Attributes
Implements

Constructors

NaptConfiguration()

Creates an new NaptConfiguration instance.

Properties

Enabled

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

PinholeLimit

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.

PinholeTimeoutIcmp

Pinhole timeout for ICMP pinholes in seconds. Default for ICMP Echo is 30 seconds.

PinholeTimeoutTcp

Pinhole timeout for TCP pinholes in seconds. Default for TCP is 3 minutes.

PinholeTimeoutUdp

Pinhole timeout for UDP pinholes in seconds. Default for UDP is 30 seconds.

PortRangeMaxPort

The maximum port number

PortRangeMinPort

The minimum port number

PortReuseHoldTimeTcp

Minimum time in seconds that will pass before a TCP port that was used by a closed pinhole can be reused. Default for TCP is 2 minutes.

PortReuseHoldTimeUdp

Minimum time in seconds that will pass before a UDP port that was used by a closed pinhole can be reused. Default for UDP is 1 minute.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of NaptConfiguration.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of NaptConfiguration.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MobileNetwork.Models.Api20221101.INaptConfiguration.

FromJsonString(String)

Creates a new instance of NaptConfiguration, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of NaptConfiguration into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to