Delen via


PinholeTimeouts Class

Definition

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

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

Constructors

PinholeTimeouts()

Initializes a new instance of PinholeTimeouts.

Properties

Icmp

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

Tcp

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

Udp

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

Explicit Interface Implementations

IJsonModel<PinholeTimeouts>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PinholeTimeouts>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PinholeTimeouts>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PinholeTimeouts>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PinholeTimeouts>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to