MobileNetworkPortRange Class

Definition

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.)

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

Constructors

MobileNetworkPortRange()

Initializes a new instance of MobileNetworkPortRange.

Properties

MaxPort

The maximum port number.

MinPort

The minimum port number.

Explicit Interface Implementations

IJsonModel<MobileNetworkPortRange>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MobileNetworkPortRange>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MobileNetworkPortRange>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MobileNetworkPortRange>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MobileNetworkPortRange>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to