Dela via


PortRange Class

Definition

Port Range to specify particular destination ports for TCP rules. Serialized Name: PortRange

public class PortRange : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.OracleDatabase.Models.PortRange>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.OracleDatabase.Models.PortRange>
type PortRange = class
    interface IJsonModel<PortRange>
    interface IPersistableModel<PortRange>
Public Class PortRange
Implements IJsonModel(Of PortRange), IPersistableModel(Of PortRange)
Inheritance
PortRange
Implements

Constructors

PortRange(Int32, Int32)

Initializes a new instance of PortRange.

Properties

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. Serialized Name: PortRange.max

Min

The minimum port number, which must not be greater than the maximum port number. Serialized Name: PortRange.min

Explicit Interface Implementations

IJsonModel<PortRange>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<PortRange>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PortRange>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PortRange>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<PortRange>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to