次の方法で共有


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

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

Constructors

PortRange()

Creates an new PortRange instance.

Properties

MaxPort

The maximum port number

MinPort

The minimum port number

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PortRange.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PortRange.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PortRange into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to