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.
The port range.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.PortRangeTypeConverter))]
public class PortRange : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IPortRange
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.PortRangeTypeConverter))>]
type PortRange = class
interface IPortRange
interface IJsonSerializable
Public Class PortRange
Implements IPortRange
- Inheritance
-
PortRange
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| PortRange() |
Creates an new PortRange instance. |
Properties
| Name | Description |
|---|---|
| PortEnd |
The maximum port that is included in the range. It should be ranged from 1 to 65535, and be greater than or equal to portStart. |
| PortStart |
The minimum port that is included in the range. It should be ranged from 1 to 65535, and be less than or equal to portEnd. |
| Protocol |
The network protocol of the port. |
Methods
| Name | Description |
|---|---|
| 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.Aks.Models.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() | |