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

C#
public class PortRange : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.OracleDatabase.Models.PortRange>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.OracleDatabase.Models.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

Táirge Leaganacha
Azure SDK for .NET Preview