CloudListenerTcpEndpoint

class oci.database_management.models.CloudListenerTcpEndpoint(**kwargs)

Bases: oci.database_management.models.cloud_listener_endpoint.CloudListenerEndpoint

A TCP-based protocol address.

Attributes

PROTOCOL_IPC str(object=’’) -> str
PROTOCOL_TCP str(object=’’) -> str
PROTOCOL_TCPS str(object=’’) -> str
host [Required] Gets the host of this CloudListenerTcpEndpoint.
port [Required] Gets the port of this CloudListenerTcpEndpoint.
protocol [Required] Gets the protocol of this CloudListenerEndpoint.
services Gets the services of this CloudListenerEndpoint.

Methods

__init__(**kwargs) Initializes a new CloudListenerTcpEndpoint object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
PROTOCOL_IPC = 'IPC'
PROTOCOL_TCP = 'TCP'
PROTOCOL_TCPS = 'TCPS'
__init__(**kwargs)

Initializes a new CloudListenerTcpEndpoint object with values from keyword arguments. The default value of the protocol attribute of this class is TCP and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • protocol (str) – The value to assign to the protocol property of this CloudListenerTcpEndpoint. Allowed values for this property are: “IPC”, “TCP”, “TCPS”
  • services (list[str]) – The value to assign to the services property of this CloudListenerTcpEndpoint.
  • host (str) – The value to assign to the host property of this CloudListenerTcpEndpoint.
  • port (int) – The value to assign to the port property of this CloudListenerTcpEndpoint.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

host

[Required] Gets the host of this CloudListenerTcpEndpoint. The host name or IP address.

Returns:The host of this CloudListenerTcpEndpoint.
Return type:str
port

[Required] Gets the port of this CloudListenerTcpEndpoint. The port number.

Returns:The port of this CloudListenerTcpEndpoint.
Return type:int
protocol

[Required] Gets the protocol of this CloudListenerEndpoint. The listener protocol.

Allowed values for this property are: “IPC”, “TCP”, “TCPS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The protocol of this CloudListenerEndpoint.
Return type:str
services

Gets the services of this CloudListenerEndpoint. The list of services registered with the listener.

Returns:The services of this CloudListenerEndpoint.
Return type:list[str]