CreateChannelTargetFromDbSystemDetails

class oci.mysql.models.CreateChannelTargetFromDbSystemDetails(**kwargs)

Bases: oci.mysql.models.create_channel_target_details.CreateChannelTargetDetails

Parameters detailing how to provision the target endpoint that is a DB System.

Methods

__init__(**kwargs) Initializes a new CreateChannelTargetFromDbSystemDetails 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.

Attributes

applier_username Gets the applier_username of this CreateChannelTargetFromDbSystemDetails.
channel_name Gets the channel_name of this CreateChannelTargetFromDbSystemDetails.
db_system_id [Required] Gets the db_system_id of this CreateChannelTargetFromDbSystemDetails.
delay_in_seconds Gets the delay_in_seconds of this CreateChannelTargetFromDbSystemDetails.
filters Gets the filters of this CreateChannelTargetFromDbSystemDetails.
tables_without_primary_key_handling Gets the tables_without_primary_key_handling of this CreateChannelTargetFromDbSystemDetails.
target_type [Required] Gets the target_type of this CreateChannelTargetDetails.
__init__(**kwargs)

Initializes a new CreateChannelTargetFromDbSystemDetails object with values from keyword arguments. The default value of the target_type attribute of this class is DBSYSTEM and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • target_type (str) – The value to assign to the target_type property of this CreateChannelTargetFromDbSystemDetails.
  • db_system_id (str) – The value to assign to the db_system_id property of this CreateChannelTargetFromDbSystemDetails.
  • channel_name (str) – The value to assign to the channel_name property of this CreateChannelTargetFromDbSystemDetails.
  • applier_username (str) – The value to assign to the applier_username property of this CreateChannelTargetFromDbSystemDetails.
  • filters (list[oci.mysql.models.ChannelFilter]) – The value to assign to the filters property of this CreateChannelTargetFromDbSystemDetails.
  • tables_without_primary_key_handling (str) – The value to assign to the tables_without_primary_key_handling property of this CreateChannelTargetFromDbSystemDetails.
  • delay_in_seconds (int) – The value to assign to the delay_in_seconds property of this CreateChannelTargetFromDbSystemDetails.
applier_username

Gets the applier_username of this CreateChannelTargetFromDbSystemDetails. The username for the replication applier of the target MySQL DB System.

Returns:The applier_username of this CreateChannelTargetFromDbSystemDetails.
Return type:str
channel_name

Gets the channel_name of this CreateChannelTargetFromDbSystemDetails. The case-insensitive name that identifies the replication channel. Channel names must follow the rules defined for MySQL identifiers. The names of non-Deleted Channels must be unique for each DB System.

Returns:The channel_name of this CreateChannelTargetFromDbSystemDetails.
Return type:str
db_system_id

[Required] Gets the db_system_id of this CreateChannelTargetFromDbSystemDetails. The OCID of the target DB System.

Returns:The db_system_id of this CreateChannelTargetFromDbSystemDetails.
Return type:str
delay_in_seconds

Gets the delay_in_seconds of this CreateChannelTargetFromDbSystemDetails. Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.

Returns:The delay_in_seconds of this CreateChannelTargetFromDbSystemDetails.
Return type:int
filters

Gets the filters of this CreateChannelTargetFromDbSystemDetails. Replication filter rules to be applied at the DB System Channel target.

Returns:The filters of this CreateChannelTargetFromDbSystemDetails.
Return type:list[oci.mysql.models.ChannelFilter]
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.

tables_without_primary_key_handling

Gets the tables_without_primary_key_handling of this CreateChannelTargetFromDbSystemDetails. Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key. The default value is set to ALLOW.

Returns:The tables_without_primary_key_handling of this CreateChannelTargetFromDbSystemDetails.
Return type:str
target_type

[Required] Gets the target_type of this CreateChannelTargetDetails. The specific target identifier.

Returns:The target_type of this CreateChannelTargetDetails.
Return type:str