Show / Hide Table of Contents

Class PortRange

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.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class PortRange

Properties

Max

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

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.

Remarks

Required

Min

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

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

Remarks

Required

In this article
Back to top