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.
Port Range to specify particular destination ports for TCP rules.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Oracle.Models.PortRangeTypeConverter))]
public class PortRange : Microsoft.Azure.PowerShell.Cmdlets.Oracle.Models.IPortRange
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Oracle.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 |
|---|---|
| Max |
The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. |
| Min |
The minimum port number, which must not be greater than the maximum port number. |
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.Oracle.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() | |