PortRange Class

Definition

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)

Deserializes a PSObject into an instance of PortRange.

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)

Serializes this instance of PortRange into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to