PortRange¶
-
class
oci.vn_monitoring.models.
PortRange
(**kwargs)¶ Bases:
object
PortRange model.
Methods
__init__
(**kwargs)Initializes a new PortRange object with values from keyword arguments. Attributes
max
[Required] Gets the max of this PortRange. min
[Required] Gets the min of this PortRange. -
__init__
(**kwargs)¶ Initializes a new PortRange object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - max (int) – The value to assign to the max property of this PortRange.
- min (int) – The value to assign to the min property of this PortRange.
-
max
¶ [Required] Gets the max of this PortRange. 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.
Returns: The max of this PortRange. Return type: int
-
min
¶ [Required] Gets the min of this PortRange. The minimum port number, which must not be greater than the maximum port number.
Returns: The min of this PortRange. Return type: int
-