TcpOptions¶
-
class
oci.core.models.
TcpOptions
(**kwargs)¶ Bases:
object
Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed.
Methods
__init__
(**kwargs)Initializes a new TcpOptions object with values from keyword arguments. Attributes
destination_port_range
Gets the destination_port_range of this TcpOptions. source_port_range
Gets the source_port_range of this TcpOptions. -
__init__
(**kwargs)¶ Initializes a new TcpOptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - destination_port_range (oci.core.models.PortRange) – The value to assign to the destination_port_range property of this TcpOptions.
- source_port_range (oci.core.models.PortRange) – The value to assign to the source_port_range property of this TcpOptions.
-
destination_port_range
¶ Gets the destination_port_range of this TcpOptions.
Returns: The destination_port_range of this TcpOptions. Return type: oci.core.models.PortRange
-
source_port_range
¶ Gets the source_port_range of this TcpOptions.
Returns: The source_port_range of this TcpOptions. Return type: oci.core.models.PortRange
-