PeComanagedDatabaseConnectionDetails¶
- class oci.opsi.models.PeComanagedDatabaseConnectionDetails(**kwargs)¶
Bases:
objectConnection details of the private endpoints.
Attributes:
A constant which can be used with the protocol property of a PeComanagedDatabaseConnectionDetails.
A constant which can be used with the protocol property of a PeComanagedDatabaseConnectionDetails.
[Required] Gets the hosts of this PeComanagedDatabaseConnectionDetails.
Gets the protocol of this PeComanagedDatabaseConnectionDetails.
Gets the service_name of this PeComanagedDatabaseConnectionDetails.
Methods:
__init__(**kwargs)Initializes a new PeComanagedDatabaseConnectionDetails object with values from keyword arguments.
- PROTOCOL_TCP = 'TCP'¶
A constant which can be used with the protocol property of a PeComanagedDatabaseConnectionDetails. This constant has a value of “TCP”
- PROTOCOL_TCPS = 'TCPS'¶
A constant which can be used with the protocol property of a PeComanagedDatabaseConnectionDetails. This constant has a value of “TCPS”
- __init__(**kwargs)¶
Initializes a new PeComanagedDatabaseConnectionDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
hosts (list[oci.opsi.models.PeComanagedDatabaseHostDetails]) – The value to assign to the hosts property of this PeComanagedDatabaseConnectionDetails.
protocol (str) – The value to assign to the protocol property of this PeComanagedDatabaseConnectionDetails. Allowed values for this property are: “TCP”, “TCPS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
service_name (str) – The value to assign to the service_name property of this PeComanagedDatabaseConnectionDetails.
- property hosts¶
[Required] Gets the hosts of this PeComanagedDatabaseConnectionDetails. List of hosts and port for private endpoint accessed database resource.
- Returns
The hosts of this PeComanagedDatabaseConnectionDetails.
- Return type
- property protocol¶
Gets the protocol of this PeComanagedDatabaseConnectionDetails. Protocol used for connection requests for private endpoint accssed database resource.
Allowed values for this property are: “TCP”, “TCPS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The protocol of this PeComanagedDatabaseConnectionDetails.
- Return type
str
- property service_name¶
Gets the service_name of this PeComanagedDatabaseConnectionDetails. Database service name used for connection requests.
- Returns
The service_name of this PeComanagedDatabaseConnectionDetails.
- Return type
str