UpdateConnectDescriptor

class oci.database_migration.models.UpdateConnectDescriptor(**kwargs)

Bases: object

Connect Descriptor details. If a Private Endpoint was specified in the Connection, the host entry should be a valid IP address.

Methods

__init__(**kwargs) Initializes a new UpdateConnectDescriptor object with values from keyword arguments.

Attributes

connect_string Gets the connect_string of this UpdateConnectDescriptor.
database_service_name Gets the database_service_name of this UpdateConnectDescriptor.
host Gets the host of this UpdateConnectDescriptor.
port Gets the port of this UpdateConnectDescriptor.
__init__(**kwargs)

Initializes a new UpdateConnectDescriptor 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 UpdateConnectDescriptor.
  • port (int) – The value to assign to the port property of this UpdateConnectDescriptor.
  • database_service_name (str) – The value to assign to the database_service_name property of this UpdateConnectDescriptor.
  • connect_string (str) – The value to assign to the connect_string property of this UpdateConnectDescriptor.
connect_string

Gets the connect_string of this UpdateConnectDescriptor. Connect String. If specified, this will override the stored connect descriptor details. If a Private Endpoint was specified in the Connection, the host entry should be a valid IP address. Supported formats: Easy connect: <host>:<port>/<db_service_name> Long format: (description= (address=(port=<port>)(host=<host>))(connect_data=(service_name=<db_service_name>)))

Returns:The connect_string of this UpdateConnectDescriptor.
Return type:str
database_service_name

Gets the database_service_name of this UpdateConnectDescriptor. Database service name.

Returns:The database_service_name of this UpdateConnectDescriptor.
Return type:str
host

Gets the host of this UpdateConnectDescriptor. Host or IP address of the connect descriptor.

Returns:The host of this UpdateConnectDescriptor.
Return type:str
port

Gets the port of this UpdateConnectDescriptor. Port of the connect descriptor.

Returns:The port of this UpdateConnectDescriptor.
Return type:int