ConnectDescriptor¶
-
class
oci.database_migration.models.
ConnectDescriptor
(**kwargs)¶ Bases:
object
Connect Descriptor details.
Methods
__init__
(**kwargs)Initializes a new ConnectDescriptor object with values from keyword arguments. Attributes
connect_string
Gets the connect_string of this ConnectDescriptor. database_service_name
Gets the database_service_name of this ConnectDescriptor. host
Gets the host of this ConnectDescriptor. port
Gets the port of this ConnectDescriptor. -
__init__
(**kwargs)¶ Initializes a new ConnectDescriptor object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - host (str) – The value to assign to the host property of this ConnectDescriptor.
- port (int) – The value to assign to the port property of this ConnectDescriptor.
- database_service_name (str) – The value to assign to the database_service_name property of this ConnectDescriptor.
- connect_string (str) – The value to assign to the connect_string property of this ConnectDescriptor.
-
connect_string
¶ Gets the connect_string of this ConnectDescriptor. Connect string.
Returns: The connect_string of this ConnectDescriptor. Return type: str
-
database_service_name
¶ Gets the database_service_name of this ConnectDescriptor. Database service name.
Returns: The database_service_name of this ConnectDescriptor. Return type: str
-
host
¶ Gets the host of this ConnectDescriptor. Host of the connect descriptor.
Returns: The host of this ConnectDescriptor. Return type: str
-
port
¶ Gets the port of this ConnectDescriptor. Port of the connect descriptor.
Returns: The port of this ConnectDescriptor. Return type: int
-