Share via


CloudVmClusterPortRange Class

Definition

Port Range to specify particular destination ports for TCP rules.

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

Constructors

CloudVmClusterPortRange(Int32, Int32)

Initializes a new instance of CloudVmClusterPortRange.

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.

Min

The minimum port number, which must not be greater than the maximum port number.

Explicit Interface Implementations

IJsonModel<CloudVmClusterPortRange>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CloudVmClusterPortRange>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CloudVmClusterPortRange>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CloudVmClusterPortRange>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CloudVmClusterPortRange>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to