你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PinholeTimeouts Class

Definition

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

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

Constructors

PinholeTimeouts()

Creates an new PinholeTimeouts instance.

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PinholeTimeouts.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PinholeTimeouts.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PinholeTimeouts into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to