Aracılığıyla paylaş


MobileNetworkPortReuseHoldTimes Class

Definition

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 minimum 1 second.

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

Constructors

MobileNetworkPortReuseHoldTimes()

Initializes a new instance of MobileNetworkPortReuseHoldTimes.

Properties

Tcp

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.

Udp

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.

Explicit Interface Implementations

IJsonModel<MobileNetworkPortReuseHoldTimes>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MobileNetworkPortReuseHoldTimes>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MobileNetworkPortReuseHoldTimes>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MobileNetworkPortReuseHoldTimes>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MobileNetworkPortReuseHoldTimes>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to