ExternalListenerTcpEndpoint¶
-
class
oci.database_management.models.
ExternalListenerTcpEndpoint
(**kwargs)¶ Bases:
oci.database_management.models.external_listener_endpoint.ExternalListenerEndpoint
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 ExternalListenerTcpEndpoint. port
[Required] Gets the port of this ExternalListenerTcpEndpoint. protocol
[Required] Gets the protocol of this ExternalListenerEndpoint. services
Gets the services of this ExternalListenerEndpoint. Methods
__init__
(**kwargs)Initializes a new ExternalListenerTcpEndpoint 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 ExternalListenerTcpEndpoint object with values from keyword arguments. The default value of the
protocol
attribute of this class isTCP
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 ExternalListenerTcpEndpoint. Allowed values for this property are: “IPC”, “TCP”, “TCPS”
- services (list[str]) – The value to assign to the services property of this ExternalListenerTcpEndpoint.
- host (str) – The value to assign to the host property of this ExternalListenerTcpEndpoint.
- port (int) – The value to assign to the port property of this ExternalListenerTcpEndpoint.
-
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 ExternalListenerTcpEndpoint. The host name or IP address.
Returns: The host of this ExternalListenerTcpEndpoint. Return type: str
-
port
¶ [Required] Gets the port of this ExternalListenerTcpEndpoint. The port number.
Returns: The port of this ExternalListenerTcpEndpoint. Return type: int
-
protocol
¶ [Required] Gets the protocol of this ExternalListenerEndpoint. 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 ExternalListenerEndpoint. Return type: str
-
services
¶ Gets the services of this ExternalListenerEndpoint. The list of services registered with the listener.
Returns: The services of this ExternalListenerEndpoint. Return type: list[str]
-