ExternalListenerEndpoint¶
-
class
oci.database_management.models.ExternalListenerEndpoint(**kwargs)¶ Bases:
objectThe protocol address that an external listener is configured to listen on.
Attributes
PROTOCOL_IPCA constant which can be used with the protocol property of a ExternalListenerEndpoint. PROTOCOL_TCPA constant which can be used with the protocol property of a ExternalListenerEndpoint. PROTOCOL_TCPSA constant which can be used with the protocol property of a ExternalListenerEndpoint. protocol[Required] Gets the protocol of this ExternalListenerEndpoint. servicesGets the services of this ExternalListenerEndpoint. Methods
__init__(**kwargs)Initializes a new ExternalListenerEndpoint 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'¶ A constant which can be used with the protocol property of a ExternalListenerEndpoint. This constant has a value of “IPC”
-
PROTOCOL_TCP= 'TCP'¶ A constant which can be used with the protocol property of a ExternalListenerEndpoint. This constant has a value of “TCP”
-
PROTOCOL_TCPS= 'TCPS'¶ A constant which can be used with the protocol property of a ExternalListenerEndpoint. This constant has a value of “TCPS”
-
__init__(**kwargs)¶ Initializes a new ExternalListenerEndpoint object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 ExternalListenerEndpoint. 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’.
- services (list[str]) – The value to assign to the services property of this ExternalListenerEndpoint.
-
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.
-
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]
-