TcpConnection

class oci.healthchecks.models.TcpConnection(**kwargs)

Bases: object

TCP connection results. All durations are in milliseconds.

__init__(**kwargs)

Initializes a new TcpConnection object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • address (str) -- The value to assign to the address property of this TcpConnection.
  • port (int) -- The value to assign to the port property of this TcpConnection.
  • connect_duration (float) -- The value to assign to the connect_duration property of this TcpConnection.
  • secure_connect_duration (float) -- The value to assign to the secure_connect_duration property of this TcpConnection.
address

Gets the address of this TcpConnection. The connection IP address.

Returns:The address of this TcpConnection.
Return type:str
connect_duration

Gets the connect_duration of this TcpConnection. Total connect duration, calculated using connectEnd minus connectStart.

Returns:The connect_duration of this TcpConnection.
Return type:float
port

Gets the port of this TcpConnection. The port.

Returns:The port of this TcpConnection.
Return type:int
secure_connect_duration

Gets the secure_connect_duration of this TcpConnection. The duration to secure the connection. This value will be zero for insecure connections. Calculated using connectEnd minus secureConnectionStart.

Returns:The secure_connect_duration of this TcpConnection.
Return type:float