CloudListenerTcpsEndpoint¶
-
class
oci.database_management.models.CloudListenerTcpsEndpoint(**kwargs)¶ Bases:
oci.database_management.models.cloud_listener_endpoint.CloudListenerEndpointA TCPS-based protocol address.
Attributes
PROTOCOL_IPCstr(object=’’) -> str PROTOCOL_TCPstr(object=’’) -> str PROTOCOL_TCPSstr(object=’’) -> str host[Required] Gets the host of this CloudListenerTcpsEndpoint. port[Required] Gets the port of this CloudListenerTcpsEndpoint. protocol[Required] Gets the protocol of this CloudListenerEndpoint. servicesGets the services of this CloudListenerEndpoint. Methods
__init__(**kwargs)Initializes a new CloudListenerTcpsEndpoint 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 CloudListenerTcpsEndpoint object with values from keyword arguments. The default value of the
protocolattribute of this class isTCPSand 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 CloudListenerTcpsEndpoint. Allowed values for this property are: “IPC”, “TCP”, “TCPS”
- services (list[str]) – The value to assign to the services property of this CloudListenerTcpsEndpoint.
- host (str) – The value to assign to the host property of this CloudListenerTcpsEndpoint.
- port (int) – The value to assign to the port property of this CloudListenerTcpsEndpoint.
-
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 CloudListenerTcpsEndpoint. The host name or IP address.
Returns: The host of this CloudListenerTcpsEndpoint. Return type: str
-
port¶ [Required] Gets the port of this CloudListenerTcpsEndpoint. The port number.
Returns: The port of this CloudListenerTcpsEndpoint. 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]
-