PortRange Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) | |
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) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |