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