Show / Hide Table of Contents

Class PortRange

A Port Range which can be used for the running service. It uses port information.

Inheritance
object
PortRange
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.NetworkfirewallService.Models
Assembly: OCI.DotNetSDK.Networkfirewall.dll
Syntax
public class PortRange

Properties

MaximumPort

Declaration
[JsonProperty(PropertyName = "maximumPort")]
public int? MaximumPort { get; set; }
Property Value
Type Description
int?

The maximum port in the range (inclusive), which may be absent for a single-port range.

MinimumPort

Declaration
[Required(ErrorMessage = "MinimumPort is required.")]
[JsonProperty(PropertyName = "minimumPort")]
public int? MinimumPort { get; set; }
Property Value
Type Description
int?

The minimum port in the range (inclusive), or the sole port of a single-port range.

Remarks

Required

In this article
Back to top