Connection

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

Bases: object

The network connection results.

Methods

__init__(**kwargs) Initializes a new Connection object with values from keyword arguments.

Attributes

address Gets the address of this Connection.
port Gets the port of this Connection.
__init__(**kwargs)

Initializes a new Connection 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 Connection.
  • port (int) – The value to assign to the port property of this Connection.
address

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

Returns:The address of this Connection.
Return type:str
port

Gets the port of this Connection. The port.

Returns:The port of this Connection.
Return type:int