Connection¶
- class oci.healthchecks.models.Connection(**kwargs)¶
Bases:
objectThe network connection results.
Methods:
__init__(**kwargs)Initializes a new Connection object with values from keyword arguments.
Attributes:
Gets the address of this Connection.
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.
- property address¶
Gets the address of this Connection. The connection IP address.
- Returns
The address of this Connection.
- Return type
str
- property port¶
Gets the port of this Connection. The port.
- Returns
The port of this Connection.
- Return type
int